From: Danny Glaser on
I am attempting to create a 6DOF aircraft simulation (a plant model) using model referencing (which I have not done before). I am having difficulty trimming the model to steady state initial conditions. The trim command doesn't work with referenced models. I am capable of developing an algorithm on my own to trim the model, but I cannot get the command "model_name(t, x, u,'outputs')" to pass state values to the referenced models.

Does anyone have suggestions for trimming a referrenced model?