MATLAB - Stop execution of .m file while Simulink is running

2 Ansichten (letzte 30 Tage)
JOKY JOKE
JOKY JOKE am 13 Dez. 2011
Hi,
I am starting a Simulink simulation from an .m file: set_param('model','SimulationCommand', 'start');
As soon as the simulation is finished I want to continue executing commands, that are written in the same .m file underneath the start command. Is there any way, I can stop execuation of the .m file while Simulink is running and then continue automatically, when it is finished?
Thank you

Antworten (1)

Paulo Silva
Paulo Silva am 13 Dez. 2011
Use the Simulink sim function instead to start the simulation, that way after the simulation is over the code continues execution.

Kategorien

Mehr zu Modeling finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by