why this command does not work

"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 commentaire

TAB
TAB le 9 Juil 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.

Connectez-vous pour commenter.

Réponses (1)

Luffy
Luffy le 5 Juil 2012
Modifié(e) : Walter Roberson le 8 Juil 2012

0 votes

Try command:
To pause your code at a point try,
uiwait;
at the point where you want to resume execution of your code try,
uiresume;

3 commentaires

mohamed  al-asklany
mohamed al-asklany le 6 Juil 2012
can not done
Luffy
Luffy le 6 Juil 2012
Modifié(e) : Walter Roberson le 8 Juil 2012
So you do not want data from Simulink to stop until you exit function,you still want data to come,
Try ,
pause on;
pause(n) % n is n.o seconds
mohamed  al-asklany
mohamed al-asklany le 9 Juil 2012
Modifié(e) : Walter Roberson le 9 Juil 2012
when i use pause() i can get data from simulink but the other function contain pause command stopped until i exit simulink

Connectez-vous pour commenter.

Catégories

En savoir plus sur Simulink dans Centre d'aide et File Exchange

Produits

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by