Simulation on Simulink 2019b is too slow !

Hello, everyone,
I am facing a problem with the new version of Matlab Simulink 2019b.
My model used to take about 2 hours to perform a simulation over a period of time on Simulink 2019a .
Now, after installing 2019b, it takes 26 hours which is very annoying and slows down my progress.
I checked with the same model by pasting it in a file 2019a and another file 2019b then running a simulation, it is the version that is the problem.
The model parameters are the same (Simulation time, solver, sampling time...).
Someone could help me to overcome this problem.
Thank you in advance.

3 Comments

I'm seeing the same kind of slowdown. The simulation data inspector is incredibly slow to display data and unreliable too. It will sometimes take 20 minutes to display the data from a single simulation run or crash (requiring MATLAB to be closed and re-opened) whilst trying to display a single data item.
Same problem, just running a simple vector assignment takes forever or loading a file.
Problem occured once I upgraded to 2019b.
In my case, it was the "Simulink Profiler" that slowed down the simulations. Everything is back to normal when I turned it off. Make sure you unchecked it in DEBUG\Performance advisor\Activate Profiler.

Sign in to comment.

Answers (1)

It's going to be difficult if not impossible to determine the cause of the slowdown without additional information. I recommend sending the model that has slowed down so much to Technical Support for investigation. You can contact Support using the telephone icon in the upper-right corner of this page.

1 Comment

has this issue been solved ? The Simulation Data Inspector slows down to zero speed after one run. It was perfect in 2018, which I upgraded from. I applied some commands, since the 'overwrite previous run' option was no longer abvailable in 2020a.

Sign in to comment.

Products

Release

R2019b

Asked:

on 11 Dec 2019

Commented:

on 28 May 2020

Community Treasure Hunt

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

Start Hunting!