View progress of simulation (on simulink) when using sim command (on matlab)

6 views (last 30 days)
Francesco Porretta
Francesco Porretta on 8 Jul 2021
I am using the sim() command on my matlab code in order to run a simulink model (which is open in my pc desktop). Normally when you run a simulink model you see a nice blue progress bar on the bottom right, showing you how far the compilation and then at which simulation time step it is.
However, this is not visible when I use the sim() command. Is there someway to get this information without losing in performances (I mean, without increase the simulation total time)?
Or maybe, it is possible to obtain the same progress bar on the simulink model just using the sim() command? Maybe with some option/set.
Thanks a lot in advance!

Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by