pause-clc-fprintf-pause ... fprintf is ignored
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
Navya Seelam
2019-12-6
Hi,
I have brought this issue to the notice of our developers. They will investigate the matter further.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Entering Commands 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!