メインコンテンツ

このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。

systemcomposer.profile.Stereotype.find

ステレオタイプを名前で検索

    説明

    stereotype = systemcomposer.profile.Stereotype.find(name) は、ステレオタイプを名前で検索します。

    すべて折りたたむ

    小型 UAV (無人航空機) モデルのステレオタイプを検索します。

    openProject("scExampleSmallUAV");
    stereotype = systemcomposer.profile.Stereotype.find("UAVComponent.OnboardElement")
    stereotype = 
      Stereotype with properties:
    
                        Name: 'OnboardElement'
                 Description: 'Represents the base component of UAVComponent'
                      Parent: [0×0 systemcomposer.profile.Stereotype]
                   AppliesTo: 'Component'
                    Abstract: 0
                        Icon: 'network'
        ComponentHeaderColor: [210 210 210]
          ConnectorLineColor: [168 168 168]
          ConnectorLineStyle: 'Default'
          FullyQualifiedName: 'UAVComponent.OnboardElement'
                     Profile: [1×1 systemcomposer.profile.Profile]
             OwnedProperties: [1×3 systemcomposer.profile.Property]
                  Properties: [1×3 systemcomposer.profile.Property]
    
    

    入力引数

    すべて折りたたむ

    ステレオタイプの名前。"<profile>.<stereotype>" の形式の文字ベクトルまたは string として指定します。

    データ型: char | string

    出力引数

    すべて折りたたむ

    見つかったステレオタイプ。systemcomposer.profile.Stereotype オブジェクトとして返されます。

    詳細

    すべて折りたたむ

    バージョン履歴

    R2019a で導入