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!