Main Content

getAttributes

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

Get list of attribute names

Syntax

names = h.getAttributes

Description

names = h.getAttributes returns the list of attribute names 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.

Output Arguments

expand all

A list of the names, returned as a cell array.

Data Types: cell

Examples

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

    'FirstAttribute'    'SecondAttribute'    'ThirdAttribute'

Version History

Introduced in R2013a