Skip to Main Content Skip to Search
Product Documentation

connect - Connect IDE to processor

Syntax

IDE_Obj.connect()
IDE_Obj.connect(debugconnection)
IDE_Obj.connect(...,timeout)

IDEs

This function supports the following IDEs:

Description

IDE_Obj.connect() connects the IDE to the processor hardware or simulator. IDE_Obj is the IDE handle.

IDE_Obj.connect(debugconnection) connects the IDE to the processor using the debug connection you specify in debugconnection. Enter debugconnection as a string enclosed in single quotation marks. IDE_Obj is the IDE handle. Refer to Examples to see this syntax in use.

IDE_Obj.connect(...,timeout) adds the optional parameter timeout that defines how long, in seconds, MATLAB waits for the specified connection process to complete. If the time-out period expires before the process returns a completion message, MATLAB generates an error and returns. Usually the program connection process works correctly in spite of the error message

Examples

The input argument stringdebugconnection specify the processor to connect to with the IDE. This example connects to the Freescale™ MPC5554 simulator. The debugconnection string is simppc -fast -dec -rom_use_entry -cpu=ppc5554.

IDE_Obj.connect('simppc -fast -dec -rom_use_entry -cpu=ppc5554')

See Also

load | run

  


Related Products & Applications

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