getAllFunctionInterfaceTypes
クラス: coder.codedescriptor.CodeDescriptor
パッケージ: coder.codedescriptor
関数インターフェイスの種類を返す
構文
allFunctionInterfaceTypes = getAllFunctionInterfaceTypes(codeDescObj)
説明
は、利用可能な関数インターフェイスの種類のリストを返します。返されたリストはモデル固有ではありません。allFunctionInterfaceTypes
= getAllFunctionInterfaceTypes(codeDescObj
)
入力引数
出力引数
例
ビルドされる必要なモデルの coder.codedescriptor.CodeDescriptor
オブジェクトを作成して、利用可能な関数インターフェイスの種類をリストします。
モデルを作成します。
slbuild('rtwdemo_comments')
必要なモデルの
coder.codedescriptor.CodeDescriptor
オブジェクトを作成します。codeDescObj = coder.getCodeDescriptor('rtwdemo_comments')
利用可能な関数インターフェイスの種類のリストを返します。
allFunctionInterfaceTypes = getAllFunctionInterfaceTypes(codeDescObj)
allFunctionInterfaceTypes
の値は次のとおりです。{'Allocation'} {'Initialize'} {'Output' } {'Update' } {'Terminate' }