Main Content
addMacro
Class: coder.make.ToolchainInfo
Namespace: coder.make
Add macro to Macros
Syntax
h.addMacro(macroname)
h.addMacro(macroname, macrovalue)
Description
adds
a macro to h
.addMacro(macroname
)coder.make.ToolchainInfo.Macros
without
initializing the value of the Macro.
adds a macro and initializes the value of the macro.h
.addMacro(macroname
, macrovalue
)
Input Arguments
Examples
h.setMacro('CYGWIN','C:\cygwin\'); h.getMacro('CYGWIN')
ans = C:\cygwin\bin\
h.removeMacro('CYGWIN')
Tips
Use setMacro
to update the value of a macro in coder.make.ToolchainInfo.Macros
.
Version History
Introduced in R2013a