why this command does not work

1 view (last 30 days)
mohamed  al-asklany
mohamed al-asklany on 5 Jul 2012
"pause ()" i used this command in my function and i use this function in my gui and i acquire data from simulink when i start this function which contain "pause command" data from simulink stopped until i exit the function which contain "pause command" what can i do?
  1 Comment
TAB on 9 Jul 2012
It is not clear, how you are acquiring data from simulink and in which function you are calling pause().
Please explain your problem with neat details.

Sign in to comment.

Answers (1)

Luffy on 5 Jul 2012
Edited: Walter Roberson on 8 Jul 2012
Try command:
To pause your code at a point try,
at the point where you want to resume execution of your code try,
mohamed  al-asklany
mohamed al-asklany on 9 Jul 2012
Edited: Walter Roberson on 9 Jul 2012
when i use pause() i can get data from simulink but the other function contain pause command stopped until i exit simulink

Sign in to comment.


Find more on Modeling 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!