pause; Requires any key press to continue..

3 次查看(过去 30 天)
Sagar
Sagar 2014-11-13
评论: Sagar 2014-11-14
The 'pause' command in code requires any key press from user to continue,Is there any software way to resume that pause? In my code the pause is resumed based on some condition,how to resume it after that condition is executed?
  2 个评论
Guillaume
Guillaume 2014-11-13
Matlab is single threaded, so while it is still running your code (even though it's paused), no other code would be executed. Therefore there would not be any software condition to detect.
Or do you mean the condition is in another software than matlab?
Sagar
Sagar 2014-11-14
There is no other software to meet that condition, I was trying to use toggle button in gui to pause and resume.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by