how can i measure the time taken by a certain block in Matlab Simulink

2 ビュー (過去 30 日間)
Ashraf ayasrah
Ashraf ayasrah 2018 年 10 月 9 日
コメント済み: Ashraf ayasrah 2018 年 10 月 9 日
Hi guys, My Matlab Simulink is too slow. So, to solve this problem, I need to know which part is taken a long time during the execution time. I think the highlight block in the Figure below is the problem. How can I measure its execution time?
thank you in advance
  2 件のコメント
Walter Roberson
Walter Roberson 2018 年 10 月 9 日
It looks to me like you have an algebraic loop that Simulink has to resolve by doing numeric integration using an ode solver. That can happen any time you have feedback in the circuit. You might be able to adjust the solver parameters.
Ashraf ayasrah
Ashraf ayasrah 2018 年 10 月 9 日
thank you for your answer, but I tried to do it before without any benefit.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeSources についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by