Does pausing and resuming have negative effects on execution?

Does pausing the script by meams of the "pause" button and and then continuing have negative effects on execution (except for lost time during pausing)? Is the execution able to proceed normally, like nothing happened?

답변 (1개)

Rik
Rik 2017년 11월 17일

0 개 추천

As far as I can tell, no. Any queued callback will be executed, but that is hardly a negative effect.

댓글 수: 1

Screen updates will be rendered, which I guess could cause difficulties in obscure circumstances.
Timers do not stop running and data collection callbacks do not stop running, I think. There is the potential for data structures filling up.
But in my experience the biggest problem is that when you are in the debugger, this is a good chance that you will click on a window to look at it or to move it out of the way. That can change the "current" figure or "current" axes, which can mess up plotting that is not taking care to always specify the figure or axes it was to apply to.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Graphics Performance에 대해 자세히 알아보기

태그

질문:

2017년 11월 17일

댓글:

2017년 11월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by