How can I get the code execution tome of the model in simulink? (for the code generation of the C2000 processors)
古いコメントを表示
I want to know what is the execution time of my model in simulink. I need to set a proper sampling time for the code generation for C2000 processors.
Thanks.
2 件のコメント
Sudarshan Kolar
2017 年 2 月 27 日
To determine the execution time of a model you can use the following command:
tic
sim('myModel');
toc
Hope that helps.
JIANWEI
2017 年 2 月 28 日
採用された回答
その他の回答 (1 件)
Manex Barrenetxea
2017 年 10 月 27 日
Dear Antonin,
We have tried to measure and visualize execution time and preemptions for the different synchronous rates in our model following your recommendation. However, the following error arose while compiling:
*The parameter ExecutionProfileBufferLen is not defined for selected hardware board.
We are trying to measure the execution times of the F28335 board. Could you clarify us which could be the root of the error we are having?
Thank you in advance and best regards,
Manex.
カテゴリ
ヘルプ センター および File Exchange で Code Generation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!