Supressing code generation of a Simulink model

1 Ansicht (letzte 30 Tage)
Christian
Christian am 14 Sep. 2011
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

Antworten (1)

Fangjun Jiang
Fangjun Jiang am 15 Sep. 2011
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".

Kategorien

Mehr zu Deployment, Integration, and Supported Hardware finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by