I want to see how long it takes to run a model
1 回表示 (過去 30 日間)
古いコメントを表示
Good morning, I have a problem. I want to see how long it takes to run a model. But I do not know how to calculate the different times. (UpdateDiagramTime, AccelBuildTime and SimTime). If someone could help me. Thank you very much
1 件のコメント
Mohamed Belkhayat
2019 年 8 月 27 日
編集済み: Mohamed Belkhayat
2019 年 8 月 27 日
tic;sim('model');a=toc;save sim_time a;
this runs the model and saves the time to a file named sim_time in case you need that.
採用された回答
Mischa Kim
2016 年 9 月 15 日
編集済み: Mischa Kim
2016 年 9 月 15 日
Fernando, I assume you are talking about Simulink models. There is a functionality called profiler that might help you. See the documentation for more detail.
その他の回答 (1 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!