Execution Time Calculation in Simulink

1 回表示 (過去 30 日間)
Saleh Msaddi
Saleh Msaddi 2020 年 5 月 18 日
編集済み: Ameer Hamza 2020 年 5 月 19 日
Hello friends,
I consider using simulating a model using only Simulink envirment. The Simulink model has MATLAB functions containing optimization algorithms, and no code generation is required. How can I find the time required to simulate the model?
ALL THE SIMULATION IS PERFORMED ON SIMULINK
Thanks!

採用された回答

Ameer Hamza
Ameer Hamza 2020 年 5 月 18 日
編集済み: Ameer Hamza 2020 年 5 月 19 日
See the profiling tools in Simulink: https://www.mathworks.com/help/simulink/ug/how-profiler-captures-performance-data.html. You can monitor the execution time of individual blocks.

その他の回答 (1 件)

Fangjun Jiang
Fangjun Jiang 2020 年 5 月 18 日
Like this?
tic;
sim('MyModel');
toc;

カテゴリ

Help Center および File ExchangeManual Performance Optimization についてさらに検索

タグ

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by