I want to see how long it takes to run a model
조회 수: 4 (최근 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!