メインコンテンツ

このページは機械翻訳を使用して翻訳されました。最新版の英語を参照するには、ここをクリックします。

aircraftProperties

航空機を定義および管理するためのプロパティを作成する

R2021b 以降

    説明

    properties = aircraftProperties( ) は、すべてのプロパティのデフォルト値を持つ Aero.Aircraft.Properties オブジェクトを返します。

    properties = aircraftProperties(name) は、指定された名前 name を持つ Aero.Aircraft.Properties オブジェクトを返します。

    properties = aircraftProperties(name,description) は、指定された説明 description を持つ Aero.Aircraft.Properties オブジェクトを返します。

    properties = aircraftProperties(name,description,type) は、指定された型 typeAero.Aircraft.Properties オブジェクトを返します。

    prooperties = aircraftProperties(name,description,type,version) は、指定されたバージョン versionAero.Aircraft.Properties オブジェクトを返します。

    すべて折りたたむ

    航空機のプロパティ オブジェクトを作成します。

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

    航空機のプロパティ オブジェクトを作成し、名前を指定します。

    props = aircraftProperties("MyPlane")
    props = 
    
      Properties with properties:
    
               Name: "MyPlane"
        Description: ""
               Type: ""
            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"

    入力引数

    すべて折りたたむ

    スカラー文字列または文字ベクトルとして指定されたオブジェクト名。

    データ型: char | string

    スカラー文字列または文字ベクトルとして指定されたオブジェクトの説明。

    データ型: char | string

    スカラー文字列または文字ベクトルとして指定されるオブジェクト タイプ。

    データ型: char | string

    スカラー文字列または文字ベクトルとして指定されたオブジェクト バージョン。

    データ型: char | string

    出力引数

    すべて折りたたむ

    Aero.Aircraft.Properties オブジェクトは Aero.Aircraft.Properties オブジェクトとして返されます。

    バージョン履歴

    R2021b で導入