Main Content

removeAttribute

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

Remove attribute

Syntax

h.removeAttribute(att_name)

Description

h.removeAttribute(att_name) removes the named attribute from 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

Examples

h.addAttribute('FirstAttribute')
h.isAttribute('FirstAttribute')
ans  = 

     1
h.removeAttribute('FirstAttribute')
h.isAttribute('FirstAttribute')
ans  = 

     0

Version History

Introduced in R2013a