How can I access the value of signals at the time of stopping the simulation.
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시
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
Kushagra
2013년 1월 16일
Kaustubha Govind
2013년 1월 14일
0 개 추천
이 질문은 마감되었습니다.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!