Info

此问题已关闭。 请重新打开它进行编辑或回答。

More overhead in R2014a

1 次查看(过去 30 天)
William
William 2014-10-22
关闭: MATLAB Answer Bot 2021-8-20
I recently upgraded to R2014a from R2013b. It seems to take longer to run the same Simulink model in R2014a than R2013b. Dose anyone have a clue or same experience?
  2 个评论
the cyclist
the cyclist 2014-10-22
I don't run Simulink, but I wonder if you could profile the code in both versions, and try to narrow the difference.
I know one thing that definitely takes longer in 2014b: saving figures to file.
Jon Boerner
Jon Boerner 2014-10-23
Hi William,
Could you do a tic/toc around a sim to see what the time difference is?
tic
sim('myModel')
toc
After that you might want to do an sldiagnostics call to see if the difference in time is during the model compilation or model execution phase. In particular, you will want to look at the CompileStats option.
I assume you are running the model in normal mode as well?

回答(0 个)

此问题已关闭。

产品

Community Treasure Hunt

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

Start Hunting!

Translated by