Script displays every line while running

4 visualizaciones (últimos 30 días)
Mech Princess
Mech Princess el 9 de Feb. de 2014
Comentada: Mech Princess el 9 de Feb. de 2014
I am using 2012a version. When I run a script from F5 or play button, it writes every line on the command window. How do I make this not print every line? Is there an option I must disable?
Other things that do work properly: If I execute current cell (Ctrl+Enter) or Ctrl+Shift+Enter, then it does not display in the command window. If I highlight one line and press F9, it will display the selected line. Thanks

Respuesta aceptada

Walter Roberson
Walter Roberson el 9 de Feb. de 2014
Try
echo off
  1 comentario
Mech Princess
Mech Princess el 9 de Feb. de 2014
thanks. It worked. For some reason. restarting matlab worked one time. but not every time

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by