One-Step a Simulink Simulation from the MATLAB command line
Mostrar comentarios más antiguos
Hi,
I'm trying to step through a simulink model by just executing time 0 then 1, then 2, etc. from the command line. Rather than using the debugger, I'd like to execute the entire model each time, assuming its fixed-step.
Something like this would be preffered: simulate('model_name', onestep);
Is there any way to do this in simulink/MATLAB?
Respuestas (2)
Kaustubha Govind
el 14 de Mayo de 2012
1 voto
Note that the word model needs to be replaced with the actual name of the model.
krishna teja
el 28 de Mzo. de 2020
0 votos
check this
Categorías
Más información sobre Modeling en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!