Main Content

getControlStates

Class: Aero.FixedWing
Namespace: Aero

Get control states for Aero.FixedWing object

Since R2021a

Syntax

control_states = getControlStates(aircraft)

Description

control_states = getControlStates(aircraft) gets Aero.Aircraft.ControlState control states for the Aero.FixedWing object aircraft.

Input Arguments

expand all

Aero.FixedWing coefficient object, specified as a scalar of type Aero.FixedWing, Aero.FixedWing.Surface, Aero.FixedWing.Control, or Aero.FixedWing.Thrust.

Output Arguments

expand all

Aero.Aircraft.ControlState objects, returned as a vector.

Examples

expand all

Get the control states for an Aero.FixedWing object.

C182 = astC182();
ctrlStates = getControlStates(C182)
ctrlStates = 
  1×4 ControlState array with properties:

    Position
    MaximumValue
    MinimumValue
    DependsOn
    Settable
    DeflectionAngle
    Properties

Version History

Introduced in R2021a