Main Content

addPostDownloadTool

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

Add post-download tool to PostDownloadTool

Syntax

h.addPostDownloadTool(bldtl_name,bldtl_handle)

Description

h.addPostDownloadTool(bldtl_name,bldtl_handle) adds a BuildTool object between the download tool and the execute tool specified by the PostbuildTools property.

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('toolname');
h.addPostDownloadTool('examplename',bt)
ans = 

##############################################
# Build Tool: toolname
##############################################

Language              : 'C'
OptionsRegistry       : {}
InputFileExtensions   : {}
OutputFileExtensions  : {}
DerivedFileExtensions : {}
SupportedOutputs      : {'*'}
CommandPattern        : '|>TOOL<| |>TOOL_OPTIONS<| |>OUTPUT_FLAG<| |>OUTPUT<|'

# ---------
# Command
# ---------

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

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

Version History

Introduced in R2013a