setCommandPattern
クラス: coder.make.BuildTool
名前空間: coder.make
ビルド ツールのコマンド パターンの設定
構文
h.setCommandPattern(commandpattern);
説明
は、h
.setCommandPattern(commandpattern);coder.make.ToolchainInfo.BuildTools
内の特定の coder.make.BuildTool
オブジェクトのコマンド パターンを設定します。
入力引数
例
MATLAB® Coder™ ビルド プロセスへのカスタム ツールチェーンの追加の intel_tc.m
ファイルは以下の行を使用して、コマンド パターンを含む BuildTool
オブジェクトの 1 つを取得し、更新します。
% ------------------------------ % C Compiler % ------------------------------ tool = tc.getBuildTool('C Compiler'); tool.setName('Intel C Compiler'); tool.setCommand('icl'); tool.setPath(''); tool.setDirective('IncludeSearchPath','-I'); tool.setDirective('PreprocessorDefine','-D'); tool.setDirective('OutputFlag','-Fo'); tool.setDirective('Debug','-Zi'); tool.setFileExtension('Source','.c'); tool.setFileExtension('Header','.h'); tool.setFileExtension('Object','.obj'); tool.setCommandPattern('|>TOOL<| |>TOOL_OPTIONS<| |>OUTPUT_FLAG<||>OUTPUT<|');
バージョン履歴
R2013a で導入