Weird behavior when debugging code invoked by timer
조회 수: 2 (최근 30일)
이전 댓글 표시
.
Am I the only one to experience the following weird behavior of Matlab?
I debug code that is invoked by a timer
- execution is halted by a break-point
- I do something interactively
- suddenly "a callback" is fired. Execution is still halted at the same break-point, but with a new workspace
- A new group of timercb, timercb and invoked_by_timer_catch is added to the stack drop-down-menu. See the screen clip below.
- R2012a 64bit
timer is not supposed to fire a new callback until the current callback is finished. Isn't that what the documentation says? I have seen it happen with "'TasksToExecute', 1".

Sorry the picture is so large.
댓글 수: 2
Jan
2013년 3월 4일
Please show us how you define the TIMER such that we can try to reproduce the problem.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Platform and License에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!