メインコンテンツ

getAttributes

クラス: coder.make.ToolchainInfo
名前空間: coder.make

属性名のリストの取得

構文

names = h.getAttributes

説明

names = h.getAttributescoder.make.ToolchainInfo.Attributes にある属性名のリストを返します。

入力引数

すべて展開する

coder.make.ToolchainInfo オブジェクト。h のようにオブジェクト ハンドルを使用して指定します。h を作成するには、MATLAB® コマンド ウィンドウで「h = coder.make.ToolchainInfo」と入力します。

出力引数

すべて展開する

名前のリスト。cell 配列として返されます。

データ型: cell

h.addAttribute('FirstAttribute')
h.addAttribute('SecondAttribute')
h.addAttribute('ThirdAttribute')
names = h.getAttributes
names = 

    'FirstAttribute'    'SecondAttribute'    'ThirdAttribute'

バージョン履歴

R2013a で導入