Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

When does an update to a function come into effect?

조회 수: 1(최근 30일)
Oliver Woodford
Oliver Woodford 2020년 2월 29일
마감: MATLAB Answer Bot 2021년 8월 20일
If I edit an existing function, and save the file, when does that change come into effect, in the following scenarios:
  1. Code is not running (easy - the next time the function is called)
  2. Code is running
  3. Code is running, then hits a breakpoint outside the function/file in question
  4. Code is running, then hits a pause() outside the function/file in question (and are there any other functions, e.g. drawnow(), with the same behaviour, if it is different from the norm)
  5. Code is running, then hits a breakpoint inside the function/file in question
  6. Code is running, then hits a pause() inside the function/file in question
Where in the documentation is this explained?
  댓글 수: 1
Stephen23
Stephen23 2020년 8월 25일
I cannot recall this being explained. I suspect that the function is only updated once MATLAB is idle, but hopefully one of the experienced MATLAB users will have some comment on this.. I am also interested how it works!

답변(0개)

제품

Community Treasure Hunt

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

Start Hunting!

Translated by