Main Content

Simulation 3D Air Transport Pack

Generate translation and rotation information for air transport aircraft

Since R2023b

  • Simulation 3D Air Transport Pack block icon

Libraries:
Aerospace Blockset / Animation / Simulation 3D

Description

The Simulation 3D Air Transport Pack block creates translation and rotation information for the Simulation 3D Aircraft block with Type set to Air transport. Use the Simulation 3D Air Transport Pack block to provide translation and rotation information to the Translation and Rotation input ports of the Simulation 3D Aircraft block.

Ports

Input

expand all

Body translation, specified as a 1-by-3 matrix.

Data Types: single | double

Engine 1 translation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Engine 1 translation parameter.

Data Types: single | double

Engine 2 translation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Engine 2 translation parameter.

Data Types: single | double

Engine 3 translation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Engine 3 translation parameter.

Data Types: single | double

Engine 4 translation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Engine 4 translation parameter.

Data Types: single | double

Rudder translation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Rudder translation parameter.

Data Types: single | double

Elevator translation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Elevator translation parameter.

Data Types: single | double

Horizontal stab translation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Horizontal stab translation parameter.

Data Types: single | double

Left aileron translation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Left aileron translation parameter.

Data Types: single | double

Right aileron translation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Right aileron translation parameter.

Data Types: single | double

Flaps set 1 translation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Flaps set 1 translation parameter.

Data Types: single | double

Flaps set 2 translation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Flaps set 2 translation parameter.

Data Types: single | double

Left spoiler translation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Left spoiler translation parameter.

Data Types: single | double

Right spoiler translation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Right spoiler translation parameter.

Data Types: single | double

Nose gear translation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Nose gear translation parameter.

Data Types: single | double

Nose wheel translation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Nose wheel translation parameter.

Data Types: single | double

Nose gear door 1 translation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Nose gear door 1 translation parameter.

Data Types: single | double

Nose gear door 2 translation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Nose gear door 2 translation parameter.

Data Types: single | double

Left gear translation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Left gear translation parameter.

Data Types: single | double

Left wheel translation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Left wheel translation parameter.

Data Types: single | double

Left gear link translation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Left gear link translation parameter.

Data Types: single | double

Left gear door 1 translation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Left gear door 1 translation parameter.

Data Types: single | double

Left gear door 2 translation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Left gear door 2 translation parameter.

Data Types: single | double

Left gear door 2.2 translation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Left gear door 2.2 translation parameter.

Data Types: single | double

Right gear translation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Right gear translation parameter.

Data Types: single | double

Right wheel translation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Right wheel translation parameter.

Data Types: single | double

Right gear link translation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Right gear link translation parameter.

Data Types: single | double

Right gear door 1 translation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Right gear door 1 translation parameter.

Data Types: single | double

Right gear door 2 translation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Right gear door 2 translation parameter.

Data Types: single | double

Right gear door 2.2 translation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Right gear door 2.2 translation parameter.

Data Types: single | double

Body rotation, specified as a 1-by-3 matrix.

Data Types: single | double

Engine 1 rotation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Engine 1 rotation parameter.

Data Types: single | double

Engine 2 rotation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Engine 2 rotation parameter.

Data Types: single | double

Engine 3 rotation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Engine 3 rotation parameter.

Data Types: single | double

Engine 4 rotation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Engine 4 rotation parameter.

Data Types: single | double

Rudder rotation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Rudder rotation parameter.

Data Types: single | double

Elevator rotation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Elevator rotation parameter.

Data Types: single | double

Horizontal stab rotation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Horizontal stab rotation parameter.

Data Types: single | double

Left aileron rotation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Left aileron rotation parameter.

Data Types: single | double

Right aileron rotation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Right aileron rotation parameter.

Data Types: single | double

Flaps set 1 rotation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Flaps set 1 rotation parameter.

Data Types: single | double

Flaps set 2 rotation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Flaps set 2 rotation parameter.

Data Types: single | double

Left spoiler rotation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Left spoiler rotation parameter.

Data Types: single | double

Right spoiler rotation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Right spoiler rotation parameter.

Data Types: single | double

Nose gear rotation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Nose gear rotation parameter.

Data Types: single | double

Nose wheel rotation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Nose wheel rotation parameter.

Data Types: single | double

Nose gear door 1 rotation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Nose gear door 1 rotation parameter.

Data Types: single | double

Nose gear door 2 rotation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Nose gear door 2 rotation parameter.

Data Types: single | double

Left gear rotation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Left gear rotation parameter.

Data Types: single | double

Left wheel rotation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Left wheel rotation parameter.

Data Types: single | double

Left gear link rotation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Left gear link rotation parameter.

Data Types: single | double

Left gear door 1 rotation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Left gear door 1 rotation parameter.

Data Types: single | double

Left gear door 2 rotation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Left gear door 2 rotation parameter.

Data Types: single | double

Left gear door 2.2 rotation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Left gear door 2.2 rotation parameter.

Data Types: single | double

Right gear rotation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Right gear rotation parameter.

Data Types: single | double

Right wheel rotation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Right wheel rotation parameter.

Data Types: single | double

Right gear link rotation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Right gear link rotation parameter.

Data Types: single | double

Right gear door 1 rotation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Right gear door 1 rotation parameter.

Data Types: single | double

Right gear door 2 rotation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Right gear door 2 rotation parameter.

Data Types: single | double

Right gear door 2.2 rotation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Right gear door 2.2 rotation parameter.

Data Types: single | double

Output

expand all

Aircraft translation for air transport aircraft, returned as a 30-by-3 array. The signal contains translation [X, Y, Z], in meters, with one row of the array for each bone of the aircraft.

The translation applies to these bones of the Air transport type.

BoneIndex

BODY

1

ENGINE1

2

ENGINE2

3

ENGINE3

4

ENGINE4

5

RUDDER

6

ELEVATOR

7

HORIZONTAL_STAB

8

LEFT_AILERON

9

RIGHT_AILERON

10

FLAPS1

11

FLAPS2

12

LEFT_SPOILER

13

RIGHT_SPOILER

14

NOSE_GEAR

15

NOSE_WHEEL

16

NOSE_GEAR_DOOR1

17

NOSE_GEAR_DOOR2

18

LEFT_GEAR

19

LEFT_WHEEL

20

LEFT_GEAR_LINK

21

LEFT_GEAR_DOOR1

22

LEFT_GEAR_DOOR2

23

LEFT_GEAR_DOOR2_2

24

RIGHT_GEAR

25

RIGHT_WHEEL

26

RIGHT_GEAR_LINK

27

RIGHT_GEAR_DOOR1

28

RIGHT_GEAR_DOOR2

29

RIGHT_GEAR_DOOR2_2

30

Aircraft rotation for air transport aircraft, returned as a 30-by-3 array.

The rotation applies to the same bones as listed for the Translation port.

The signal contains the rotation [roll, pitch, yaw], in radians, with one row of the array for each bone of the aircraft.

Parameters

expand all

Propulsion

Select this parameter to enable the Engine1_T input port.

Programmatic Use

Block Parameter: Engine1_T
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Engine2_T input port.

Programmatic Use

Block Parameter: Engine2_T
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Engine3_T input port.

Programmatic Use

Block Parameter: Engine3_T
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Engine4_T input port.

Programmatic Use

Block Parameter: Engine4_T
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Engine1_R input port.

Programmatic Use

Block Parameter: Engine1_R
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Engine2_R input port.

Programmatic Use

Block Parameter: Engine2_R
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Engine3_R input port.

Programmatic Use

Block Parameter: Engine3_R
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Engine4_R input port.

Programmatic Use

Block Parameter: Engine4_R
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Controls

Select this parameter to enable the Rudder_T input port.

Programmatic Use

Block Parameter: Rudder_T
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Elevator_T input port.

Programmatic Use

Block Parameter: Elevator_T
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Horizontal_Stab_T input port.

Programmatic Use

Block Parameter: Horizontal_Stab_T
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Left_Aileron_T input port.

Programmatic Use

Block Parameter: Left_Aileron_T
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Right_Aileron_T input port.

Programmatic Use

Block Parameter: Right_Aileron_T
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Flaps1_T input port.

Programmatic Use

Block Parameter: Flaps1_T
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Flaps2_T input port.

Programmatic Use

Block Parameter: Flaps2_T
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Left_Spoiler_T input port.

Programmatic Use

Block Parameter: Left_Spoiler_T
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Right_Spoiler_T input port.

Programmatic Use

Block Parameter: Right_Spoiler_T
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Rudder_R input port.

Programmatic Use

Block Parameter: Rudder_R
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Elevator_R input port.

Programmatic Use

Block Parameter: Elevator_R
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Horizontal_Stab_R input port.

Programmatic Use

Block Parameter: Horizontal_Stab_R
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Left_Aileron_R input port.

Programmatic Use

Block Parameter: Left_Aileron_R
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Right_Aileron_R input port.

Programmatic Use

Block Parameter: Right_Aileron_R
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Flaps1_R input port.

Programmatic Use

Block Parameter: Flaps1_R
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Flaps2_R input port.

Programmatic Use

Block Parameter: Flaps2_R
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Left_Spoiler_R input port.

Programmatic Use

Block Parameter: Left_Spoiler_R
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Right_Spoiler_R input port.

Programmatic Use

Block Parameter: Right_Spoiler_R
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Gear

Select this parameter to enable the Nose_Gear_T input port.

Programmatic Use

Block Parameter: Nose_Gear_T
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Nose_Wheel_T input port.

Programmatic Use

Block Parameter: Nose_Wheel_T
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Nose_Gear_Door1_T input port.

Programmatic Use

Block Parameter: Nose_Gear_Door1_T
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Nose_Gear_Door2_T input port.

Programmatic Use

Block Parameter: Nose_Gear_Door2_T
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Left_Gear_T input port.

Programmatic Use

Block Parameter: Left_Gear_T
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Left_Wheel_T input port.

Programmatic Use

Block Parameter: Left_Wheel_T
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Left_Gear_Link_T input port.

Programmatic Use

Block Parameter: Left_Gear_Link_T
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Left_Gear_Door1_T input port.

Programmatic Use

Block Parameter: Left_Gear_Door1_T
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Left_Gear_Door2_T input port.

Programmatic Use

Block Parameter: Left_Gear_Door2_T
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Left_Gear_Door2_2_T input port.

Programmatic Use

Block Parameter: Left_Gear_Door2_2_T
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Right_Gear_T input port.

Programmatic Use

Block Parameter: Right_Gear_T
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Right_Wheel_T input port.

Programmatic Use

Block Parameter: Right_Wheel_T
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Right_Gear_Link_T input port.

Programmatic Use

Block Parameter: Right_Gear_Link_T
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Right_Gear_Door1_T input port.

Programmatic Use

Block Parameter: Right_Gear_Door1_T
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Right_Gear_Door2_T input port.

Programmatic Use

Block Parameter: Right_Gear_Door2_T
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Right_Gear_Door2_2_T input port.

Programmatic Use

Block Parameter: Right_Gear_Door2_2_T
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Nose_Gear_R input port.

Programmatic Use

Block Parameter: Nose_Gear_R
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Nose_Wheel_R input port.

Programmatic Use

Block Parameter: Nose_Wheel_R
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Nose_Gear_Door1_R input port.

Programmatic Use

Block Parameter: Nose_Gear_Door1_R
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Nose_Gear_Door2_T input port.

Programmatic Use

Block Parameter: Nose_Gear_Door2_T
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Left_Gear_R input port.

Programmatic Use

Block Parameter: Left_Gear_R
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Left_Wheel_R input port.

Programmatic Use

Block Parameter: Left_Wheel_R
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Left_Gear_Link_R input port.

Programmatic Use

Block Parameter: Left_Gear_Link_R
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Left_Gear_Door1_R input port.

Programmatic Use

Block Parameter: Left_Gear_Door1_R
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Left_Gear_Door2_R input port.

Programmatic Use

Block Parameter: Left_Gear_Door2_R
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Left_Gear_Door2_2_R input port.

Programmatic Use

Block Parameter: Left_Gear_Door2_2_R
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Right_Gear_R input port.

Programmatic Use

Block Parameter: Right_Gear_R
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Right_Wheel_R input port.

Programmatic Use

Block Parameter: Right_Wheel_R
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Right_Gear_Link_R input port.

Programmatic Use

Block Parameter: Right_Gear_Link_R
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Right_Gear_Door1_R input port.

Programmatic Use

Block Parameter: Right_Gear_Door1_R
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Right_Gear_Door2_R input port.

Programmatic Use

Block Parameter: Right_Gear_Door2_R
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Right_Gear_Door2_2_R input port.

Programmatic Use

Block Parameter: Right_Gear_Door2_2_R
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Geospatial

Select the input coordinate frame to position aerospace vehicles with respect to north-east-down (NED) or the Earth center (ECEF). Use this parameter with the Use Earth center as origin (ECEF) parameter of the Simulation 3D Scene Configuration block.

Programmatic Use

To set the block parameter value programmatically, use the set_param function.

To get the block parameter value programmatically, use the get_param function.

Parameter: GeoRadioButton
Values: 'NED' (default) | 'ECEF'

Select this parameter to enable the geospatial correction to the input body translation and rotation.

Dependencies

To enable this parameter, set Select input coordinate frame to NED.

Programmatic Use

Block Parameter: AdjustForCesium
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Specify the compass direction of the x-axis, specified as a real scalar, in degrees.

Dependencies

To enable this parameter:

  • Set Select input coordinate frame to NED

  • Select Enable geospatial correction

Programmatic Use

Block Parameter: Heading0
Type: character vector
Values: 90 | real scalar
Default: '90'

Version History

Introduced in R2023b

expand all