User`s guide

3 Simulink Interface
3-6
The first input is Plane rotation. The rotation is defined by a four-element vector.
The first three numbers define the axis of rotation. In this example, it should be [1 0
0] for the x-axis (see the Pitch Axis of Rotation block in the model). The pitch of the
plane is expressed by the rotation about the x-axis. The last number is the rotation
angle around the x-axis, in radians.
13
In the Simulink model, connect the line going to the Scope block labeled Display
Pitch to the Plane rotation input.
The second input is Plane translation. This input describes the plane's position in
the virtual world. This position consists of three coordinates, x, y, z. The connected
vector must have three values. In this example, the runway is in the x-z plane (see
the VR Signal Expander block). The y-axis defines the altitude of the plane.
14
In the Simulink model, connect the line going to the Scope block labeled Display
Position to the Plane translation input.
After you connect the signals and remove the Scope blocks, your model should look
similar to the figure shown.
Note Virtual world degrees of freedom have different requested input vector sizes
depending on the associated VRML field types. If the vector size of the connected
signal does not match the associated VRML field size, an Incorrect input
vector size error is reported when you start the simulation.