Embedded Coder integration for creating models that run directly in Green Hills MULTI IDE
function pfile = reload(id,timeout)
%RELOAD Load the most recently used program file into the target.
% PFILE = RELOAD(id,TIMEOUT) - The mostly recently loaded program file
% is reloaded into the target processor. RELOAD is useful after a reset
% or any event that changes the processor program memory to reinitialize
% the program for execution. The name of the program file that was loaded
% is returned in PFILE.
% The TIMEOUT parameter defines how long to wait (in seconds) for load to
% complete. If this period is exceeded, the routine returns immediately
% with a timeout error. In general the action (load) still occurs, but the
% timeout value gave insufficient time to verify the completion of the
% PFILE = RELOAD(id) Same as above, except the timeout value defaults to
% the value specified by the id object. Use GET(id,'timeout') to examine
% the default supplied by the object.
% See also GHSMULTI/OPEN, GHSMULTI/CONNECT, GHSMULTI/LOAD, GHSMULTI/CD.
% Copyright 2012 The MathWorks, Inc.