Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

6DoF Animation

Create 3-D MATLAB Graphics animation of six-degrees-of-freedom object

Library

Animation

Description

The 6DoF Animation block displays a 3-D animated view of a six-degrees-of-freedom (6DoF) craft, its trajectory, and its target using MATLAB® Graphics.

The 6DoF Animation block uses the input values and the dialog parameters to create and display the animation.

This block does not produce deployable code, but can be used with Simulink® Coder™ external mode as a SimViewingDevice.

Parameters

Axes limits [xmin xmax ymin ymax zmin zmax]

Specifies the three-dimensional space to be viewed.

Time interval between updates

Specifies the time interval at which the animation is redrawn.

Size of craft displayed

Scale factor to adjust the size of the craft and target.

Static object position

Specifies the altitude, the crossrange position, and the downrange position of the target.

Enter view

Selects preset MATLAB Graphics parameters CameraTarget and CameraUpVector for the figure axes. The dialog parameters Position of camera and View angle are used to customize the position and field of view for the selected view. Possible views are

  • Fixed position

  • Cockpit

  • Fly alongside

Position of camera [xc yc zc]

Specifies the MATLAB Graphics parameter CameraPosition for the figure axes. Used in all cases except for the Cockpit view.

View angle

Specifies the MATLAB Graphics parameter CameraViewAngle for the figure axes in degrees.

Enable animation

When selected, the animation is displayed during the simulation. If not selected, the animation is not displayed.

Inputs

InputDimension TypeDescription

First

VectorContains the altitude, the crossrange position, and the downrange position of the craft in Earth coordinates.

Second

VectorContains the Euler angles of the craft.

Introduced before R2006a

Was this topic helpful?