pause-clc-fprintf-pause ... fprintf is ignored

3 visualizaciones (últimos 30 días)
Paul Dostert
Paul Dostert el 3 de Dic. de 2019
Comentada: Navya Seelam el 6 de Dic. de 2019
My thinking was that this:
fprintf('Test %d',1)
pause
clc
fprintf('Test %d',2)
pause
should:
  • Print "Test 1"
  • Wait for the user to press a key
  • Clear the Command Window and print "Test 2"
  • Exit when the user presses a key
However, "Test 2" is never printed. Instead a blank screen is displayed. What am I missing?
I'm using MATLAB Online (R2019b)
  5 comentarios
Paul Dostert
Paul Dostert el 4 de Dic. de 2019
Any chance you can try it in MATLAB Online just to verify it is having an issue on there?
Navya Seelam
Navya Seelam el 6 de Dic. de 2019
Hi,
I have brought this issue to the notice of our developers. They will investigate the matter further.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Argument Definitions en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by