R2011B Command Window outputting every line that is executed in script
    2 views (last 30 days)
  
       Show older comments
    
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
0 Comments
Accepted Answer
  Star Strider
      
      
 on 24 Apr 2014
        4 Comments
  Star Strider
      
      
 on 24 Apr 2014
				My pleasure! I’m glad it worked.
Check your ‘startup.m’ file if it recurs.
More Answers (0)
See Also
Categories
				Find more on Logical in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
