Simulink Nonlinear compile time
1 view (last 30 days)
Show older comments
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?
0 Comments
Answers (1)
Philipp Wälchli
on 15 May 2019
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 Comment
Vishnubharathi thirupathi
on 13 Aug 2021
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.
See Also
Categories
Find more on Configure and View Diagnostics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!