Using linmod in a function called by ode45

Hi,
I would like to use "linmod" in a function that is to be given as an input to "ode45". This results in the Simulink model being recompiled every time linmod is called, which takes up a lot of time. Is there any way to avoid recompiling, or to make linmod run faster?
Thanks! Stephanie

Réponses (0)

Catégories

En savoir plus sur Simulink dans Centre d'aide 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