disp ( 'TEXT STRING' ); displays nothing in the console

1 view (last 30 days)
This might have been asked before, but I don't know the right terminology. This wasn't a problem earlier today, but suddenly when I execute the following in matlab editor:
disp ( 'TEXT STRING' );
Output in console/command window equals:
disp ( 'TEXT STRING' );
Now I want/expect, am used to seeing this as well in the output/console or at least and this worked fine earlier today:
TEXT STRING
I have restarted Matlab, but that didn't help. Im experiencing the exact same issue in FreeMat, but suddenly it resolved itself after restarting that program. But want/need to use Matlab for now. Now I guess maybe a setting has been turned off, or is this aknown bug? Anyone know how to solve? Using Matlab R2014b,

Accepted Answer

Olga Sirley
Olga Sirley on 8 Mar 2015
Seems like I forgot ending a for loop. Ending the for loop with end, and restarting Matlab seems to have resolved the issue.

More Answers (0)

Categories

Find more on Loops and Conditional Statements 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!