How to determine Simulink simulation run time?

13 次查看(过去 30 天)
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!

采纳的回答

Cory Dinkle
Cory Dinkle 2021-11-9
编辑:Cory Dinkle 2022-3-22
out.SimulationMetadata.TimingInfo

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

标签

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by