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에서 Argument Definitions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!