Main Content

setBuildTool

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

Assign BuildTool object to named build tool in BuildTools

Syntax

h.setBuildTool(bldtl_name, bldtl_handle)

Description

h.setBuildTool(bldtl_name, bldtl_handle) assigns a BuildTool object to the named build tool in coder.make.ToolchainInfo.BuildTools.

Tips

Refer to the Examples for coder.make.BuildTool for an example of how to create a BuildTool object.

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.

Build tool name, specified as a character vector or string scalar.

Data Types: char | string

coder.make.BuildTool object handle.

Examples

h = coder.make.ToolchainInfo;
bt = coder.make.BuildTool('examplename')
h.setBuildTool('Archiver',bt)

Version History

Introduced in R2013a