load.m

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

M
31 行
字号
function dummy=load(dsp,filename,timeout)
%LOAD transfers a program file to the target processor.
%   LOAD(CC,FILENAME,TIMEOUT) loads the specified FILENAME into
%   the DSP processor.  This file can include a full path, or just 
%   the name if it resides in the Code Composer Studio(tm)(CCS) 
%   working directory.  Use the CD method to check or modify the 
%   working directory.  This method should only be used with program 
%   files which are created by a Code Composer Studio build.
%      
%   TIMEOUT defines an upper limit on the period this routine will wait
%   for completion of the specified load.  If this period is exceeded, 
%   the routine will return immediately with a timeout error.
%
%   LOAD(CC,FILETYPE) same as above, except the timeout is replaced
%   by the default timeout: cc.timeout
%
%   See also CD, DIR, OPEN

%  Copyright 2001-2002 The MathWorks, Inc.
%  $Revision: 1.6 $  $Date: 2002/06/12 15:30:36 $

error(nargchk(2,3,nargin));
if nargin ==3,
    open(dsp,filename,'program',timeout);
else
    open(dsp,filename,'program');
end

% [EOF] load.m

⌨️ 快捷键说明

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