R2011B Command Window outputting every line that is executed in script

조회 수: 2 (최근 30일)
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

채택된 답변

Star Strider
Star Strider 2014년 4월 24일
Do you have echo or echo on anywhere in your script?
  댓글 수: 4
Alexander
Alexander 2014년 4월 24일
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 2014년 4월 24일
My pleasure! I’m glad it worked.
Check your ‘startup.m’ file if it recurs.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by