Azzera filtri
Azzera filtri

Supressing code generation of a Simulink model

1 visualizzazione (ultimi 30 giorni)
Christian
Christian il 14 Set 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

Risposte (1)

Fangjun Jiang
Fangjun Jiang il 15 Set 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".

Categorie

Scopri di più su Create Large-Scale Model Components in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by