Can I prevent the Simulink accelerator from checking for recompiling?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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.
0 comentarios
Respuestas (1)
Aiswarya Subramanian
el 28 de Oct. de 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
0 comentarios
Ver también
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!