pause function doesn't work R20a
조회 수: 12 (최근 30일)
이전 댓글 표시
y=1;
while y<5
x=8
pause()
y=y+1;
end
this is just a simplified example to show that pause function is not working, I am not getting the code to be paused, any idea or relative function does the same job?
댓글 수: 0
답변 (2개)
the cyclist
2023년 6월 9일
Is it possible that another pause function was defined? When do you get from typing
which pause -all
in the command window?
Walter Roberson
2023년 6월 9일
Is that definitely the code? pause() without any parameter waits for a key to be pressed on the keyboard
Exception: if
pause off
has been executed, then the wait for keyboard is skipped.
댓글 수: 2
참고 항목
카테고리
Help Center 및 File Exchange에서 Matrix Indexing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!