Simulink Nonlinear compile time

6 Ansichten (letzte 30 Tage)
Fabian Pagel
Fabian Pagel am 21 Feb. 2019
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?

Antworten (1)

Philipp Wälchli
Philipp Wälchli am 15 Mai 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 Kommentar
Vishnubharathi thirupathi
Vishnubharathi thirupathi am 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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Configure and View Diagnostics finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by