这是一个关于MATLAB的函数

源代码在线查看: add.m

软件大小: 314 K
上传用户: feiguohaihu
关键词: MATLAB 函数
下载地址: 免注册下载 普通下载 VIP

相关代码

				function dummy = add(cc,filename)
				%ADD places a file in the current Code Composer Project
				%   ADD(CC,FILE) - Use this command to add an existing file
				%   into the active Code Composer project.  The file
				%   must exist and is limited to filetypes supported by
				%   Code Composer projects.  The file may be defined
				%   with a complete path.  Otherwise, it must reside in
				%   the Code Composer working directory or on the Matlab path.
				%
				%   Supported Filetypes for ADD
				%    C/C++ source files      : *.cpp, *.c, *.cc, *.cxx or *.sa
				%    Asm source files        : *.a*,  *.s*
				%    Object and Library files: *.o*, *.lib
				%    Linker Command files    : *.cmd
				%    DSP/BIOS file           : *.cdb*
				%
				%   See also REMOVE, OPEN, CD, ACTIVATE.
				
				% Copyright 2001-2002 The MathWorks, Inc.
				% $Revision: 1.5 $ $Date: 2002/06/12 15:30:50 $
				error(nargchk(2,2,nargin));
				if ~ishandle(cc),
				    error('First Parameter must be a CCSDSP Handle.');
				end
				ofile = cc.fileparamparser(filename);
				
				ccsmexswitchyard([39,cc.boardnum,cc.procnum,0,0],ofile);
				
				% [EOF] remove.m
							

相关资源