R2011B Command Window outputting every line that is executed in script

1 visualizzazione (ultimi 30 giorni)
Hello recently MATLAB has been outputting every line that is executed in a script that i run. For example if I ran the script:
x = 1;
for i = 1:3
x = x+1;
if x == 4
x = 9;
end
end
I really want to eliminate this and go back to the default behavior I would get the following lines in the command window
x = 1;
for i = 1:3
x = x+1;
if x == 4
x = x+1;
if x == 4
x = x+1;
if x == 4
x = 9;
end
end

Risposta accettata

Star Strider
Star Strider il 24 Apr 2014
Do you have echo or echo on anywhere in your script?
  4 Commenti
Alexander
Alexander il 24 Apr 2014
The echo off all command worked. Thanks a lot. Not sure how i got started in this mode. I can't remember ever using the echo command.
Star Strider
Star Strider il 24 Apr 2014
My pleasure! I’m glad it worked.
Check your ‘startup.m’ file if it recurs.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by