Main Content

getPrebuildTool

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

Get prebuild BuildTool object

Syntax

bldtl_handle = tc.getPrebuildTool(bldtl_name)

Description

bldtl_handle = tc.getPrebuildTool(bldtl_name) gets the named BuildTool object from PrebuildTool and assigns it to a handle.

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

Output Arguments

expand all

coder.make.BuildTool object handle.

Examples

h.getPrebuildTool('Copy Tool')
ans = 

##############################################
# Build Tool: Copy Tool
##############################################

Language              : ''
OptionsRegistry       : {'Copy','COPY_FLAGS'}
InputFileExtensions   : {}
OutputFileExtensions  : {}
DerivedFileExtensions : {}
SupportedOutputs      : {coder.make.enum.BuildOutput.EXECUTABLE}
CommandPattern        : '|>TOOL<| |>TOOL_OPTIONS<|'

# ---------
# Command
# ---------
COPY  = 
COPY_PATH  = 

# ------------
# Directives
# ------------
(none)

# -----------------
# File Extensions
# -----------------
(none)

Version History

Introduced in R2013a