getCommand
获取编译工具命令
语法
c_out = h.getCommand
c_out = h.getCommand('value')
c_out = h.getCommand('macro')
说明
返回 c_out = h.getCommandcoder.make.BuildTool.Command 属性的值。
还返回 c_out = h.getCommand('value')coder.make.BuildTool.Command 的值。
返回 c_out = h.getCommand('macro')coder.make.BuildTool.Command 的宏名称。
输入参数
输出参量
示例
tc = coder.make.ToolchainInfo;
btl = tc.getBuildTool('C Compiler');
btl.getCommand
ans = icl
btl.getCommand('value')
ans = icl
c_out = btl.getCommand('macro')
c_out = CC
版本历史记录
在 R2013a 中推出