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

Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Products

Asked:

on 6 Oct 2013

Community Treasure Hunt

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

Start Hunting!