Preventing a Matlab Function from recompiling in Simulink

2 vues (au cours des 30 derniers jours)
Thomas Marullo
Thomas Marullo le 4 Déc 2015
Commenté : Thomas Marullo le 9 Déc 2015
I have a Matlab Function block that takes a while to generate code when I execute my simulation. When I change some stuff outside of the Matlab Function, Simulink still wants to recompile that function block but I know nothing has changed inside of it nor does it depend on any changes that would affect its code. Is it possible to prevent Simulink from recompiling that Matlab Function block so I can save time on tuning my model?

Réponse acceptée

Madhu Govindarajan
Madhu Govindarajan le 9 Déc 2015
If you can put your MATLAB function block inside Model reference and use the if any changes detected option mentioned here - http://www.mathworks.com/help/simulink/gui/model-referencing-pane.html
Then it should be possible to avoid recompiling every time.

Plus de réponses (0)

Catégories

En savoir plus sur Deployment, Integration, and Supported Hardware dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by