2019a slower then 2017a

1 visualizzazione (ultimi 30 giorni)
Tom
Tom il 1 Apr 2019
Hi,
I have a model with some S-functions.
When I run my model in 2017a it takes 219 seconds (using tic; sim('modelname'); disp(toc))
When I run the same model in 2019a (using the same s-functions) it takes 284 seconds.
This is 30% slower!!
In both cases I run my model with accelerator mode and in both cases I run my model once before to make sure the compiuling is not cvreating a longer run.
To make sure it was exacly the same model I exported the 2019a model to 2017a.
Could somebody help me why 2019a would be slower then 2017a? 30% is really a lot!
Tom Wambecq

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by