Unwanted model reference SIM target rebuilds

3 ビュー (過去 30 日間)
Ansh Gandhi
Ansh Gandhi 2021 年 2 月 1 日
編集済み: Jonathan Agg 2022 年 4 月 6 日
Hi,
I have gone through this article about rebuilding models for simulations-
My integration model references many models that are set up in accelerated mode with rebuild set to 'if any changes detected'. This works for some time and I have rapid compile times, but when i come back to this model the next day, with the cache files and folder location intact, and press play without making any changes, it triggers a rebuild of all models. Is time also a factor in deciding whether to rebuild? This takes a lot of unnecessary time and I am positive the content of the files or solver or data hasn't changed. Any tips appreciated, thanks!

回答 (1 件)

Jonathan Agg
Jonathan Agg 2022 年 4 月 6 日
編集済み: Jonathan Agg 2022 年 4 月 6 日
This documentation page provides ideas for investigating why a model reference gets rebuilt: https://uk.mathworks.com/help/simulink/slref/determining-why-simulink-accelerator-is-regenerating-code.html
The first step it recommends is to show more information in the Diagnostics Viewer:
set_param(model,'AccelVerboseBuild','on')
In this case, it will explain why a model reference target has been rebuilt. It's typically because the model or one of its dependencies has been changed in a structural way.
If you would like more help, please get in touch with our tech support team: https://uk.mathworks.com/support/contact_us.html.

カテゴリ

Help Center および File ExchangeMulticore Processor Targets についてさらに検索

製品


リリース

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by