| Contents | Index |
IDE_Obj.insert(addr,type,timeout)
IDE_Obj.insert(addr)
IDE_Obj.insert(file,line,type,timeout)
This function supports the following IDEs:
Analog Devices VisualDSP++
Eclipse IDE
Green Hills MULTI
Texas Instruments Code Composer Studio v3
IDE_Obj.insert(addr,type,timeout) places a debug point at the provided address of the processor. The IDE_Obj handle defines the processor that will receive the new debug point. The debug point location is defined by addr, the desired memory address. The IDEs support several types of debug points. Refer to your IDE help documentation for information on their respective behavior. The following table shows which debug types each IDE supports.
| CCS IDE | Eclipse IDE | MULTI | VisualDSP++ | |
|---|---|---|---|---|
| 'break' (default) | Yes | Yes | Yes | Yes |
| 'watch' | Yes | Yes | ||
| 'probe' | Yes |
The timeout parameter defines how long to wait (in seconds) for the insert to complete. If this period is exceeded, the routine returns immediately with a timeout error. In general the action (insert) still occurs, but the timeout value gave insufficient time to verify the completion of the action.
IDE_Obj.insert(addr) same as the preceding example, except the timeout value defaults to the timeout property specified by the IDE_Obj object. Use IDE_Obj.get('timeout') to examine this default timeout value.
IDE_Obj.insert(file,line,type,timeout) places a debug point at the specified line in a source file of Eclipse. The FILE parameter gives the name of the source file. LINE defines the line number to receive the breakpoint. Eclipse IDE provides several types of debug points. Refer to the previous list of supported debug point types. Refer to Eclipse IDE documentation for information on their respective behavior.
IDE_Obj.insert(file,line) same as the preceding example, except the timeout value defaults to the timeout property specified by the IDE_Obj object. Use IDE_Obj.get('timeout') to examine this default timeout value.

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |