Main Content

addPostDownloadTool

クラス: coder.make.ToolchainInfo
名前空間: coder.make

PostDownloadTool へのポストダウンロード ツールの追加

構文

h.addPostDownloadTool(bldtl_name,bldtl_handle)

説明

h.addPostDownloadTool(bldtl_name,bldtl_handle) は、BuildTool オブジェクトを PostbuildTools プロパティで指定されたダウンロード ツールと実行ツールの間に追加します。

ヒント

BuildTool オブジェクトの作成方法の例については、coder.make.BuildToolを参照してください。

入力引数

すべて展開する

coder.make.ToolchainInfo オブジェクト。h のようにオブジェクト ハンドルを使用して指定します。h を作成するには、MATLAB® コマンド ウィンドウで「h = coder.make.ToolchainInfo」と入力します。

ビルド ツール名。文字ベクトルまたは string スカラーとして指定します。

データ型: char | string

coder.make.BuildTool オブジェクト ハンドル。

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)

バージョン履歴

R2013a で導入