⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cd.m

📁 这是一个关于MATLAB的函数
💻 M
字号:
function resp = cd(cc,dirname)
%CD Changes the working directory used by Code Composer Studio(tm).  
%   CD(CC,DIR) will change the working directory used by Code 
%   Composer Studio to the directory passed by the string DIR.
%   The directory must exist for the change to occur.  Note, 
%   relative directory names are applied from the working 
%   directory of Code Composer.  
%
%   WD=CD(CC) returns the working directory used by Code Composer
%   Studio.  
%
%   Note, this CC method only impacts the Code Composer Studio
%   application and does not effect any Matlab paths or directories.
%   Therefore this method alters the default directory for just CC.OPEN 
%   and CC.LOAD.  Futhermore, the default directory can also be changed 
%   (manually) from within Code Composer Studio. For example, loading
%   a workspace file will modify the default directory.
%
%   See also DIR, OPEN, LOAD

% Copyright 2001-2002 The MathWorks, Inc.
% $Revision: 1.12 $ $Date: 2002/06/12 15:30:47 $
error(nargchk(1,2,nargin));
if ~ishandle(cc),
    error('First Parameter must be a CCSDSP Handle.');
end
if nargin == 1,
	resp = ccsmexswitchyard([9,cc.boardnum,cc.procnum,0,0]);
elseif nargin == 2,
	ccsmexswitchyard([9,cc.boardnum,cc.procnum,0,0],dirname);
end

% [EOF] cd.m

⌨️ 快捷键说明

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