Info
此问题已关闭。 请重新打开它进行编辑或回答。
When does an update to a function come into effect?
2 次查看(过去 30 天)
显示 更早的评论
If I edit an existing function, and save the file, when does that change come into effect, in the following scenarios:
- Code is not running (easy - the next time the function is called)
- Code is running
- Code is running, then hits a breakpoint outside the function/file in question
- 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)
- Code is running, then hits a breakpoint inside the function/file in question
- Code is running, then hits a pause() inside the function/file in question
Where in the documentation is this explained?
1 个评论
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!