Main Content

removeBuildTool

Class: coder.make.ToolchainInfo
Package: coder.make

Remove BuildTool object from BuildTools

Syntax

h.removeBuildTool(bldtl_name)

Description

h.removeBuildTool(bldtl_name) removes the named build tool from BuildTools.

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

Examples

h.addBuildTool('ExampleBuildTool'); 
h.BuildTools
ans = 


# -------------------
# "BuildTools" List
# -------------------
C Compiler       = <coder.make.BuildTool>
C++ Compiler     = <coder.make.BuildTool>
Archiver         = <coder.make.BuildTool>
Linker           = <coder.make.BuildTool>
ExampleBuildTool = <coder.make.BuildTool>
h.removeBuildTool('ExampleBuildTool')
h.BuildTools
ans = 


# -------------------
# "BuildTools" List
# -------------------
C Compiler       = <coder.make.BuildTool>
C++ Compiler     = <coder.make.BuildTool>
Archiver         = <coder.make.BuildTool>
Linker           = <coder.make.BuildTool>