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?
댓글 수: 0
답변 (1개)
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
2021년 8월 13일
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 Center 및 File Exchange에서 Configure and View Diagnostics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!