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 remove(id,varargin)
%REMOVE Remove a file from a project or remove a breakpoint.
%  REMOVE(id,FILE) removes a file from the current project. The file
%  specified must exist in the project. 
%  REMOVE(id,ADDR,TYPE) removes a debug point at the specified address in 
%  the program.  The id handle defines the processor that will have its
%  debug point deleted. The debug point location is defined by its memory
%  address: ADDR.  The IDE provides several types of debug points. Refer to
%  the IDE help documentation for information on their respective behavior.
%  The following debug TYPE options are supported:
%    'break'  - Breakpoint (default).
%    'watch'  - Watch Point.
%  REMOVE(id,ADDR) Same as above, except the debug types defaults to a 
%  breakpoint.
%  REMOVE(id,FILE,LINE,TYPE) removes a debug point at the specified line in
%  a source file of the IDE.  The FILE parameter gives the name of the 
%  source file, while LINE defines the line number of  the breakpoint to be
%  removed.  The supported debug point types are the same as listed above.
%  REMOVE(id,FILE,LINE) Same as above, except the debug point defaults to a
%  breakpoint.
%  REMOVE(id,'all','break') removes all existing valid breakpoints and waits
%  for completion. 
%  REMOVE(id,ADDR,TYPE,TIMEOUT) adds the optional TIMEOUT input argument.
%  The TIMEOUT parameter defines how long to wait (in seconds) for 
%  completion of remove.  If this period is exceeded, the routine returns 
%  immediately with a timeout error.  In general the action (remove) still 
%  occurs, but the timeout value  gave insufficient time to verify the
%  completion of the action.

%   Copyright 2012 The MathWorks, Inc.

Contact us