📄 activate.m
字号:
function dummy = activate(cc,name,type)
%ACTIVATE Make files/objects active in Code Composer Studio(tm)
% ACTIVATE(CC,NAME,TYPE) forces the specified file or object
% to be the active one in the Code Composer IDE. The type
% of entity is specified by the TYPE parameter.
%
% ACTIVATE(CC,'my.pjt','project') - Make specifed project active
% ACTIVATE(CC,'text.cpp','text') - Give focus to specifed text file
% ACTIVATE(CC,'xdebug' ,'buildcfg') - Make specified build config active
%
% See also NEW, REMOVE.
% Copyright 2001-2002 The MathWorks, Inc.
% $Revision: 1.3 $ $Date: 2002/06/12 15:30:50 $
error(nargchk(3,3,nargin));
if ~ishandle(cc),
error('First Parameter must be a CCSDSP Handle');
end
if strcmpi(type,'project') | strcmpi(type,'text'),
try
name = cc.fileparamparser(name);
catch
% Try anyway
end
end
ccsmexswitchyard([49,cc.boardnum,cc.procnum,0,0],name,type);
% [EOF] activate.m
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -