Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
Ashraf ayasrah
Ashraf ayasrah le 9 Oct 2018
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 commentaires
Walter Roberson
Walter Roberson le 9 Oct 2018
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 le 9 Oct 2018
thank you for your answer, but I tried to do it before without any benefit.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur General Applications dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by