why this command does not work
2 次查看(过去 30 天)
显示 更早的评论
"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 个评论
TAB
2012-7-9
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.
回答(1 个)
Luffy
2012-7-5
编辑:Walter Roberson
2012-7-8
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 个评论
Luffy
2012-7-6
编辑:Walter Roberson
2012-7-8
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
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Programmatic Model Editing 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!