From: Danny Glaser on
I'm using the trim command in the format:
[x, u, y, dx] = trim ('model', x0, u0, y0, ix, iu, iy);

It seems to be returning reasonable state values, x, and output values, y. But the inputs, u, don't work. I have specified in iu the indexes of the elements of u0 to remain unchanged, however the trim command doesn't change the ones that are flexible. How do I get the trim command to actually adjust the values of u so that the model is trimmed?