ACTRIM is a Matlab program, which can be applied to Simulink implementations of non-linear aircraft models in order to determine steady-state trimmed-flight conditions.
ACTRIM has been written for
the Simulink Beaver model, which can be
opened by typing beaver
at the Matlab command line. The trim
routine can also be applied to other aircraft models in Simulink if they use
exactly the same definitions of the input and state vectors as the system
Beaver. However, if this is not the case, it is relatively easy to
adapt the source code ACTRIM.M for the new situation (it is
recommended to take a closer look at the source-code to see how it works).