Main Content

removeMacro

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

Remove macro from Macros

Syntax

h.removeMacro(macroname)

Description

h.removeMacro(macroname) removes a macro from coder.make.ToolchainInfo.Macros.

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 macro.

Examples

h.setMacro('CYGWIN','C:\cygwin\');
h.getMacro('CYGWIN')
ans  = 

C:\cygwin\bin\

h.removeMacro('CYGWIN')

Version History

Introduced in R2013a