Main Content

getAttribute

Class: coder.make.ToolchainInfo
Namespace: coder.make

Get value of attribute

Syntax

att_value = h.getAttribute(att_name)

Description

att_value = h.getAttribute(att_name) returns the value of a specific attribute in coder.make.ToolchainInfo.Attributes.

Input Arguments

expand all

A coder.make.ToolchainInfo object, specified using an object handle, such as h. To create h, enter h = coder.make.ToolchainInfo in a MATLAB® Command Window.

Name of attribute, specified as a character vector or string scalar.

Data Types: char | string

Output Arguments

expand all

Attribute value. Any data type.

Examples

h.Attribute
ans = 


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

     0

Version History

Introduced in R2013a