Why is command window printing out all the code?

 Akzeptierte Antwort

Star Strider
Star Strider am 22 Mai 2021

0 Stimmen

The echo function may have become activated somehow.
See if:
echo off
solves it.
.

2 Kommentare

K Yang
K Yang am 22 Mai 2021
Yes it does! Thank you very much!
As always, my pleasure!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

per isakson
per isakson am 22 Mai 2021
Bearbeitet: per isakson am 22 Mai 2021

0 Stimmen

There is a function called echo(), which I've never used. Have you run
echo on
by mistake?
I reproduced the behavior you see
>> echo on
>> Untitled
%%
A = 1;
B = 2;
C = 3;
D = 4;
>>
>> echo off
>> Untitled
>>

Kategorien

Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by