remove.m

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

M
26 行
字号
function dummy = remove(cc,filename)
%REMOVE removes a file from the current Code Composer Project
%   REMOVE(CC,FILE) - Use this command to remove a file
%   from the current Code Composer project.  The file specified
%   must exist in the Code Composer project.
%
%   See also ADD, OPEN, CD. 


% Copyright 2001-2002 The MathWorks, Inc.
% $Revision: 1.3 $ $Date: 2002/06/12 15:30:31 $
error(nargchk(2,2,nargin));
if ~ishandle(cc),
    error('First Parameter must be a CCSDSP Handle.');
end

if ~ischar(filename),
    error('FILE parameter should be a char array.');
elseif isempty(filename),
    error('FILE parameter is empty.');
end

ccsmexswitchyard([40,cc.boardnum,cc.procnum,0,0],filename);

% [EOF] remove.m

⌨️ 快捷键说明

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