📄 getbuildopt.m
字号:
function opts = getbuildopt(cc,file)
%GETBUILDOPT Generates structure of build tools and options
% BT = GETBUILDOPT returns an array of structures with an entry
% for each defined build tool. This list is taken from
% the active project and active build configuration.
% Included in the structure is an string describes
% the command line tool options.
%
% BT(n).name = Build tool name
% BT(n).optstring = Command line switchs for build tool
%
% CS = GETBUILDOPT(FILE) returns a string of build options
% for the source file which is called FILE. The source
% file must exist in the active project. Futhermore, the
% resulting CS string is taken from the active build
% configuration. The type of source file will define
% the build tool which is used by the CS string.
%
% See also SETBUILDOPT, ACTIVATE.
% Copyright 2001-2002 The MathWorks, Inc.
% $Revision: 1.5 $ $Date: 2002/06/12 15:30:41 $
error(nargchk(1,2,nargin));
if ~ishandle(cc),
error('First Parameter must be a CCSDSP Handle');
end
if nargin == 2,
opts = ccsmexswitchyard([43,cc.boardnum,cc.procnum,0,0],file);
else
opts = ccsmexswitchyard([43,cc.boardnum,cc.procnum,0,0]);
end
% [EOF] getbuildopt.m
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -