Simulink Nonlinear compile time

1 次查看(过去 30 天)
Hello,
I have a simulink model in which i want to simulate multiple objects of a custom subsystem.
The simulation is supposed to run in Accelerator mode, but when I increase the size of subsystem the compile time starts to grow beyond linearly.
The sldiagnostics function shows that this behaviour is caused by the Pre-compile post-eval notifies process.
Is there a reference to what it refers and how to improve this performance?

回答(1 个)

Philipp Wälchli
Philipp Wälchli 2019-5-15
Hi Fabian
I am actually having the exact same problem. I cannot tell to what this process "Pre-compile post-eval notifies" refers, but through reverse-engineering my model I figured out that I can substantially decrease its process time by reducing the number of blocks (in my case I used quite some subsystem blocks to visually sort the model more efficiently). Still, my compilation time is quite high and I would welcome any other ideas/suggestions/comments about this topic.
Have you already made some progress on your side?
  1 个评论
Vishnubharathi thirupathi
Hi Philipp, Did you find ways to reduce the times in "Pre-compile post-eval notifies"? In my case I use example simulink file from Matlab. I saved them to local drive, compile and run. I do not know if the RAM that I am using is enough. I got 8GB RAM and the example model is not super complex but it has several subsystems.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Configure and View Diagnostics 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by