How to determine Simulink simulation run time?

13 visualizaciones (últimos 30 días)
Cory Dinkle
Cory Dinkle el 8 de Nov. de 2021
Editada: Cory Dinkle el 22 de Mzo. de 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!

Respuesta aceptada

Cory Dinkle
Cory Dinkle el 9 de Nov. de 2021
Editada: Cory Dinkle el 22 de Mzo. de 2022
out.SimulationMetadata.TimingInfo

Más respuestas (0)

Categorías

Más información sobre Simulink en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by