How to determine Simulink simulation run time?

12 Ansichten (letzte 30 Tage)
Cory Dinkle
Cory Dinkle am 8 Nov. 2021
Bearbeitet: Cory Dinkle am 22 Mär. 2022
Is there information within the out.mat file that Simulink generates after a simulation that states the real time elapsed? I would like to know if a revision I have performed to the model has reduced the time that the model takes to run. I know there are ways of doing this with code (tic/toc), but it seems to me that this information would be saved within the out.mat file.
I am attempting to compare simulations that have already been run, therefore I cannot implement a tic/toc method. Thank you!

Akzeptierte Antwort

Cory Dinkle
Cory Dinkle am 9 Nov. 2021
Bearbeitet: Cory Dinkle am 22 Mär. 2022
out.SimulationMetadata.TimingInfo

Weitere Antworten (0)

Kategorien

Mehr zu Programmatic Model Editing finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by