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

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,

 Respuesta aceptada

Olga Sirley
Olga Sirley el 8 de Mzo. de 2015

0 votos

Seems like I forgot ending a for loop. Ending the for loop with end, and restarting Matlab seems to have resolved the issue.

Más respuestas (0)

Categorías

Más información sobre Programming en Centro de ayuda y File Exchange.

Preguntada:

el 8 de Mzo. de 2015

Respondida:

el 8 de Mzo. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by