Simulink operations became slow

Hi, My simulink suddenly became very slow.Earlier simulink operations used to work very quickly.i have not done anything different.In the system all other activities are going normally except the operations in simulink.what could be the reason?

 Respuesta aceptada

Andreas Goser
Andreas Goser el 19 de Nov. de 2014

0 votos

In most cases, this is related to solver steps beocming very small. Do you use a variable step solver?

3 comentarios

Amrutha
Amrutha el 19 de Nov. de 2014
Ya solver options:- type:Variable step size, solver:ode45.
Andreas Goser
Andreas Goser el 19 de Nov. de 2014
OK, then the next step is to verify if the steps becoming very small is indeed the (first level) cause. Do you know how to find that out?
Amrutha
Amrutha el 20 de Nov. de 2014
Sorry i didnt get you.where should i look for this settings?Can u elaborate?

Iniciar sesión para comentar.

Más respuestas (2)

Andreas Goser
Andreas Goser el 20 de Nov. de 2014

0 votos

There are plenty of tool to debug and profile Simulink models. There is a bit of dependency by release. The question now is whether your project/learning justifies familiarizing with all of this. My suggestion is (I use R2014b) to use the "step forward" button and follow the time steps taken, e.g. by watching the overall simulation time in the status bar.

1 comentario

Amrutha
Amrutha el 20 de Nov. de 2014
Thank you Sir for the suggestion.i'm using R2008b .i will try to use R2014b.where do i find this "step forward" button ?

Iniciar sesión para comentar.

Andreas Goser
Andreas Goser el 24 de Nov. de 2014

0 votos

Amrutha, this was introduced in a recent release. But there are other ways. Point is: With this appoach, you will not be very quick in getting a solution. Look, 5 days are gone. I suggest that you look into the documentation and familiarize yourself with aspects of debugging and profiling.

Categorías

Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.

Preguntada:

el 19 de Nov. de 2014

Respondida:

el 24 de Nov. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by