Main Content

Aero.Aircraft.Properties class

Package: Aero

Properties defining and managing aircraft

Description

An object of the Aero.Aircraft.Propereties class defines and manages aircraft components. Use this object to model and analyze an aircraft. The object contains the static data for the aircraft, such as reference values, coefficients, and deflection angles.

Class Attributes

Sealed
true

For information on class attributes, see Class Attributes.

Creation

Description

example

aeroAircraft = Aero.Aircraft.Properties creates a single Aero.Aircraft.Properties object with default property values.

aeroAircraft = Aero.Aircraft.Properties(N) creates an N-by-N matrix of Aero.Aircraft.Properties objects with default property values.

aeroAircraft = Aero.Aircraft.Properties(M,N,P,...) or Aero.Aircraft.Properties([M N P ...]) creates an M-by-N-by-P-by-... array of Aero.Aircraft.Properties objects with default property values.

aeroAircraft = Aero.Aircraft.Properties(size(A)) creates an Aero.Aircraft.Properties object that is the same size as A and all Aero.Aircraft.Properties objects.

aeroAircraft = Aero.Aircraft.Properties(__,property,propertyValue) creates an array of Aero.Aircraft.Properties objects with property, propertyValue pairs applied to each of the Aero.Aircraft.Properties array objects. For a list of properties, see Properties.

Input Arguments

expand all

Number of aircraft objects, specified as a scalar.

Number of aircraft objects, specified as a scalar.

Number of aircraft objects, specified as a scalar.

Size of aircraft object, specified as a scalar.

Properties

expand all

Object name, specified as a scalar string or character vector. The update method of an Aero.FixedWing.* object uses this name to update the Simulink.LookupTable.StructTypeInfo.Name property.

Attributes:

GetAccess
public
SetAccess
public

Data Types: char | string

Object description, specified as a scalar string or character vector.

Attributes:

GetAccess
public
SetAccess
public

Data Types: char | string

Object type, specified as a scalar string or character vector.

Attributes:

GetAccess
public
SetAccess
public

Data Types: char | string

Object version, specified as a scalar string or character vector.

Attributes:

GetAccess
public
SetAccess
public

Data Types: char | string

Examples

collapse all

Create an Aero.Aircraft.Properties object and set object name to MyAircraft.

Create a fixed-wing object.

props = Aero.Aircraft.Properties('Name','MyAircraft')
props = 

  Properties with properties:

           Name: "MyAircraft"
    Description: ""
           Type: ""
        Version: ""

Limitations

  • This class requires a Simulink® license.

  • You cannot subclass Aero.Aircraft.Properties.

Introduced in R2021a