This example shows how to model six degrees of freedom motion in Simulink®. You can switch between using Euler Angles and Quaternions to model the equations of motion, using the Variant Subsystem block's "Variant > Override using" context menu.
You have a modified version of this example. Do you want to open this example with your edits?