why this command does not work
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
"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 Kommentar
TAB
am 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.
Antworten (1)
Luffy
am 5 Jul. 2012
Bearbeitet: Walter Roberson
am 8 Jul. 2012
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 Kommentare
Luffy
am 6 Jul. 2012
Bearbeitet: Walter Roberson
am 8 Jul. 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
Siehe auch
Kategorien
Mehr zu Simulink Functions finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!