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

조회 수: 4 (최근 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 CenterFile Exchange에서 Simulink에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by