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

1 次查看(过去 30 天)
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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 General Applications 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by