Info
此问题已关闭。 请重新打开它进行编辑或回答。
How can I access the value of signals at the time of stopping the simulation.
1 次查看(过去 30 天)
显示 更早的评论
I want to update the initial values of signals(Simulink.Signal) to the values that these signals hold at the time of stopping the simulation.
All the signals that I use are defined in Matlab workspace.
0 个评论
回答(2 个)
Azzi Abdelmalek
2013-1-12
Don't stop your simulation, just pause it
set_param('yourmodel','SimulationCommand','pause')
To continue simulation
set_param('model','SimulationCommand','continue')
1 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!