Can I prevent the Simulink accelerator from checking for recompiling?

8 views (last 30 days)
Hello dear community,
I am starting a Simulink model from a MATLAB script for a lot of times (several hundrets). I am using the accelerator mode. I allready checked which parameters will cause recompiling.
How it appears to me, the accelerator takes about 15 seconds for my model to check if it needs to recompile.
Is it possible to start the simulation on accelerator mode immediatly or faster? If I know which parameters don't change the checksum, I could force the accelerator to not check for recompiling.

Answers (1)

Aiswarya Subramanian
Aiswarya Subramanian on 28 Oct 2020
Hi Fabian,
Some Simulink blocks require the model to be compiled again when their parameters change. For example, if your model contains the "Fcn" block with an estimated parameter, the model must be compiled each time the parameter value is updated by Simulink Parameter Estimation. If possible, you can replace such blocks in your model with a combination of more basic blocks that perform the equivalent operation. Also, check this link :
and see if it helps you solve the issue.
-Aiswarya

Categories

Find more on Modeling 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!