How do i pause simulink for a moment ?
2 次查看(过去 30 天)
显示 更早的评论
I trying to create a continuous plotting Application Programming Interface (aka API)which keep collecting results from the stimulation produce by simulink. The problem is simulink only produce the result after it stop or pause, any idea of pausing it?
0 个评论
采纳的回答
Azzi Abdelmalek
2013-1-23
set_param('yourmodel','simulationcommand','pause')
see also, 'continue','stop','update',...
7 个评论
TAB
2013-1-29
Simulink APIs works only under matlab environment. It is not possible to coontrol compiled model with these APIs. Also same is true for vice versa. Simulink APIs are not supported by matlab compiler. So they will not work with you standalone GUI.
更多回答(1 个)
TAB
2013-1-25
Instead of puasing the simulation to collect data, use run time data access methods of simulink. Using these methods data can be collected when the simulation is running.
See
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Configure and View Diagnostics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!