Borrar filtros
Borrar filtros

Supressing code generation of a Simulink model

1 visualización (últimos 30 días)
Christian
Christian el 14 de Sept. de 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

Respuestas (1)

Fangjun Jiang
Fangjun Jiang el 15 de Sept. de 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".

Categorías

Más información sobre Create Large-Scale Model Components en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by