How can I access the value of signals at the time of stopping the simulation.
Informazioni
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
Mostra commenti meno recenti
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.
Risposte (2)
Azzi Abdelmalek
il 12 Gen 2013
Don't stop your simulation, just pause it
set_param('yourmodel','SimulationCommand','pause')
To continue simulation
set_param('model','SimulationCommand','continue')
1 Commento
Kushagra
il 16 Gen 2013
Kaustubha Govind
il 14 Gen 2013
0 voti
Questa domanda è chiusa.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!