How to pause the simulation with a command line
17 次查看(过去 30 天)
显示 更早的评论
It's probably simple but i can not find the solution.
When a code is running, you can pause it by clicking the pause button in the ribbon above (two blue lines).
Afterwards you can continue the simulation by clicking on the continue button (at the same spot).
I want to do the same action by commanding it in the script (at a certain command line).
When I type 'pause' in the command line, the simulation will pause but it will continue when I press any key. I want to be able to change some variables while it is paused and then press the continue button to continue the simulation.
.
kind regards, K
1 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Debugging and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!