Simulink Nonlinear compile time

1 visualización (últimos 30 días)
Fabian Pagel
Fabian Pagel el 21 de Feb. de 2019
Comentada: Vishnubharathi thirupathi el 13 de Ag. de 2021
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?

Respuestas (1)

Philipp Wälchli
Philipp Wälchli el 15 de Mayo de 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 comentario
Vishnubharathi thirupathi
Vishnubharathi thirupathi el 13 de Ag. de 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.

Iniciar sesión para comentar.

Categorías

Más información sobre Configure and View Diagnostics en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by