pause; Requires any key press to continue..

1 view (last 30 days)
Sagar
Sagar on 13 Nov 2014
Commented: Sagar on 14 Nov 2014
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 Comments
Guillaume
Guillaume on 13 Nov 2014
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 on 14 Nov 2014
There is no other software to meet that condition, I was trying to use toggle button in gui to pause and resume.

Sign in to comment.

Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!