Highlights from
Embedded Coder Support Package for Green Hills MULTI IDE (R2012b)

image thumbnail

Embedded Coder Support Package for Green Hills MULTI IDE (R2012b)

by

 

Embedded Coder integration for creating models that run directly in Green Hills MULTI IDE

build(id,optime,timeout)
function  [res warn] = build(id,optime,timeout)
%BUILD Build a MULTI(R) project.
%  [res warn] = BUILD(id,TIMEOUT) does an incremental build of the target 
%  code.  This will recompile any source files that have been modified.  If
%  a source file has not changed (as indicated by the date), the compilation
%  step will skip the unmodified file.  After the compilation, the object 
%  files are linked to create a program file. 
%
%  The TIMEOUT parameter defines how long to wait (in seconds) for the build
%  to complete.  If this period is exceeded, the routine returns immediately
%  with a timeout error.  In general the action (build) still continues, but
%  the timeout value  gave insufficient time to verify the completion of the
%  action.
%
%  [res warn] = BUILD(id,'all',TIMEOUT) does a complete rebuild of the 
%  target code.  This option forces a re-compilation of all source files.  
%  Then a link is performed to create a program file. 
%
%  BUILD(id,'all') and BUILD(id) - Same as above, except the default timeout
%  from the id object is applied.
%
%  See also GHSMULTI/ISRUNNING, GHSMULTI/OPEN.

% Copyright 2012 The MathWorks, Inc.

Contact us