メインコンテンツ

getAttribute

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

構文

att_value = h.getAttribute(att_name)

説明

att_value = h.getAttribute(att_name)coder.make.ToolchainInfo.Attributes にある特定の属性の値を返します。

入力引数

すべて展開する

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

属性の名前。文字ベクトルまたは string スカラーとして指定します。

データ型: char | string

出力引数

すべて展開する

属性値。任意のデータ型。

h.Attribute
ans = 


# -------------------
# "Attribute" List
# -------------------
(empty)
h.addAttribute('TransformPathsWithSpaces',false)
h.getAttribute('TransformPathsWithSpaces')
ans  = 

     0

バージョン履歴

R2013a で導入