How to determine Simulink simulation run time?

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일

0 개 추천

out.SimulationMetadata.TimingInfo

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

제품

릴리스

R2021b

태그

질문:

2021년 11월 8일

편집:

2022년 3월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by