Embedded Coder Support Package for Green Hills MULTI IDE (R2012b)
12 Sep 2012
Embedded Coder integration for creating models that run directly in Green Hills MULTI IDE
%OPEN Open a project or program into the MULTI(R) IDE.
% OPEN(H,FILENAME,FILETYPE,TIMEOUT) loads a specified project or program
% into the MULTI IDE.
% When opening a project, the FILENAME parameter is the name of the
% project to open. When loading a program, the FILENAME parameter is the
% name of the program to load. FILENAME can include a full path
% description or just the name of the file if it resides in the IDE
% working directory. Use the H.CD method to view or modify the IDE
% working directory.
% The FILETYPE parameter is the type of file to open. The only supported
% FILETYPE options are 'project' and 'program'. If FILETYPE is empty
% (i.e. ), the FILETYPE value defaults 'project'.
% 'program' - Target program file (executable)
% 'project' - MULTI project file
% TIMEOUT defines an upper limit on the period this routine will wait
% for completion of the specified file load. If this period is
% exceeded, the routine will return immediately with a timeout error.
% The action (open) may still occur for insufficient TIMEOUT values.
% A timeout does not undo the 'open', it simply suspends waiting for
% a confirmation.
% OPEN(H,FILENAME,FILETYPE) is the same as above except the timeout is
% replaced by the default timeout parameter from the H object.
% OPEN(H,FILENAME) or
% OPEN(H,FILENAME,) or
% OPEN(H,FILENAME,,TIMEOUT) is the same as above except FILETYPE is
% derived from the file extension of FILENAME.
% File extensions are interpreted as follows:
% .gpj - MULTI project file.
% (no extension) - MULTI program file.
% See also GHSMULTI/CD, GHSMULTI/DIR, GHSMULTI/LOAD.
% Copyright 2012 The MathWorks, Inc.