Main Content

addPostExecuteTool

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

PostbuildTools へのポスト実行ツールの追加

構文

h.addPostExecuteTool(name,bldtl_handle)

説明

h.addPostExecuteTool(name,bldtl_handle) は名前付きビルド ツールを Execute ツールの後の PostbuildTools に追加します。

入力引数

すべて展開する

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

ポスト実行ツールの名前。文字ベクトルまたは string スカラーとして指定します。

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

BuildTool の作成例については、coder.make.BuildTool のを参照してください。

addPostExecuteTool を使用するには、以下のコマンドを入力します。

h = coder.make.ToolchainInfo;
bt = coder.make.BuildTool('toolname');
h.addPostExecuteTool('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 で導入