フィルターのクリア

Supressing code generation of a Simulink model

1 回表示 (過去 30 日間)
Christian
Christian 2011 年 9 月 14 日
I have a huge code in a EMF block, taking a lot of time compliling it, everytime I make a change anywhere else in the Simulink model. So I referenced this huge EMF block and Simulink does not compile the huge EMF block anymore, when I make a change anywhere in the model. BUT when I transfer the whole model (whole folder with all the slprj and mex files in it) to another file location, or to another computer, it starts compiling everything again. So is there a possibility to ultimately supress the whole compilation process for the Simulink model, after I´ve run it once? Thanks

回答 (1 件)

Fangjun Jiang
Fangjun Jiang 2011 年 9 月 15 日
So the Model Referencing works out pretty well. There is a way to avoid re-compiling if that is the only thing you care about and you are willing to sacrifice others. Search for "Protecting Referenced Models" in the document. Supposedly you can protect the model and give it to anyone to use. There are requirements and limitations. If you are okay with that, follow the link for "Packaging a Protected Model".

カテゴリ

Help Center および File ExchangeCreate Large-Scale Model Components についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by