setbuildopt.m

来自「这是一个关于MATLAB的函数」· M 代码 · 共 25 行

M
25 行
字号
function opts = setbuildopt(cc,tool,opt)
%SETBUILDOPT Sets the build options of the active build configuration
%   
%   SETBUILDOPT(CC,TOOL,OSTR) configures the build options to equal
%   the passed OSTR on the specified the build TOOL.  In effect this
%   replaces the switch setting which are applied when the command
%   line TOOL is called.  For example, a build tool could be a 
%   compiler, linker or assembler.  To be sure the TOOL name is
%   defined correctly, use the GETBUILDOPT command to read a list
%   of define build tools.  Note, if OSTR is not recognized by Code
%   Composer, the effect is to clear all switch settings to
%   default values for that specified build tool.  
%   
%   See also GETBULDOPT, SETACTIVE.  

% Copyright 2001-2002 The MathWorks, Inc.
% $Revision: 1.3 $ $Date: 2002/06/12 15:30:28 $
error(nargchk(3,3,nargin));
if ~ishandle(cc),
    error('First Parameter must be a CCSDSP Handle');
end
ccsmexswitchyard([44,cc.boardnum,cc.procnum,0,0],tool,opt);

% [EOF] setbuildopt.m

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?