Main Content

getName

Class: coder.make.BuildTool
Namespace: coder.make

Get build tool name

Syntax

toolname = h.getName

Description

toolname = h.getName returns the name of the coder.make.BuildTool object.

Input Arguments

expand all

Object handle for a coder.make.BuildTool object, specified as a variable.

Example: tool

Output Arguments

expand all

The name of the coder.make.BuildTool object

Examples

Using the getName and setName Methods Interactively

Starting from the Add Custom Toolchains to MATLAB® Coder™ Build Process example, enter the following lines:

tc = coder.make.ToolchainInfo;
tool = tc.getBuildTool('C Compiler');
tool.getName
ans  = 

C Compiler
tool.setName('X Compiler')
tool.getName
ans  = 

X Compiler

Version History

Introduced in R2013a

See Also