Can I prevent the Simulink accelerator from checking for recompiling?
3 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
Aiswarya Subramanian
2020 年 10 月 28 日
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 件のコメント
参考
カテゴリ
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!