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

image thumbnail

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



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

function connect(id,varargin)
%CONNECT Connect to a debug server in MULTI(R).
%  CONNECT(id) connects MULTI debugger to the default debug server.
%  CONNECT(id, DEBUGSERVERCMD, TIMEOUT) connects MULTI using the specified 
%  debug server command. For example, to connect to MPC5554 simulator, 
%  specify DEBUGSERVERCMD as: 
%   'simppc -fast -dec -rom_use_entry -cpu=ppc5554'.
%  The TIMEOUT parameter defines how long to wait (in seconds) for the 
%  connect to complete.  If this period is exceeded, the routine returns
%  immediately with a timeout error.  In general the action (connect) still
%  occurs, but the timeout value  gave insufficient time to verify the
%  completion of the action.
%  CONNECT(id, DEBUGSERVERCMD) Same as above, except the timeout value 
%  defaults to the timeout property specified by the id object.  Use 
%  GET(id,'timeout') to examine this default timeout value.

% Copyright 2012 The MathWorks, Inc.

Contact us