Main Content
getPath
Class: coder.make.BuildTool
Namespace: coder.make
Get path and macro of build tool in Path
Syntax
btpath = h.getPath
btmacro = h.getPath('macro')
Description
returns
the path of the build tool from coder.make.BuildTool.Paths.btpath
= h
.getPath
returns the macro for the path of the build tool from
coder.make.BuildTool.Pathsbtmacro
= h
.getPath('macro')
Tips
If the system command environment specifies a path variable for the build tool, the value
of the path does not need to be specified by the BuildTool
object.
Input Arguments
Output Arguments
Examples
Enter the following lines:
tc = coder.make.ToolchainInfo;
tool = tc.getBuildTool('C Compiler');
tool.getPath
ans = ''
tool.getPath('macro')
ans = CC_PATH
tool.setPath('/gcc')
tool.Path
ans = Macro : CC_PATH Value : /gcc
Version History
Introduced in R2013a