Main Content

aircraftProperties

Create properties defining and managing aircraft

    Description

    example

    properties = aircraftProperties( ) returns an Aero.Aircraft.Properties object with default values for all properties.

    properties = aircraftProperties(name) returns an Aero.Aircraft.Properties object with the specified name.

    properties = aircraftProperties(name,description) returns an Aero.Aircraft.Properties object with the specified name and description.

    properties = aircraftProperties(name,description,type) returns an Aero.Aircraft.Properties object with the specified name, description, and type.

    prooperties = aircraftProperties(name,description,type,version) returns an Aero.Aircraft.Properties object with the specified name, description, type, and version.

    Examples

    collapse all

    Create an aircraft properties object.

    props = aircraftProperties()
    props = 
    
      Properties with properties:
    
               Name: ""
        Description: ""
               Type: ""
            Version: ""

    Create an aircraft properties object and specify the name.

    props = aircraftProperties("MyPlane")
    props = 
    
      Properties with properties:
    
               Name: "MyPlane"
        Description: ""
               Type: ""
            Version: ""

    Create an aircraft properties object and specify the name, description, type, and version.

    props = aircraftProperties("MyPlane","This is a plane","plane","1.0")
    props = 
    
      Properties with properties:
    
               Name: "MyPlane"
        Description: "This is a plane"
               Type: "plane"
            Version: "1.0"

    Input Arguments

    collapse all

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

    Data Types: char | string

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

    Data Types: char | string

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

    Data Types: char | string

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

    Data Types: char | string

    Output Arguments

    collapse all

    Aero.Aircraft.Properties object.

    Introduced in R2021b