Skip to Main Content Skip to Search
Product Documentation

eclipseide - Create handle object to interact with Eclipse IDE

Syntax

IDE_Obj = eclipseide
IDE_Obj = eclipseide('timeout', period)

IDEs

This function supports the following IDEs:

Description

Before using eclipseide for the first time:

Use IDE_Obj = eclipseide to create an IDE handle object, which you can use to communicate with the Eclipse IDE and processors connected to the Eclipse IDE. After creating the IDE handle object, you can use any of the methods for the Eclipse IDE.

When you use eclipseide, your coder product uses the plug-in to open a session with Eclipse. If Eclipse IDE is not already running, the eclipseide function starts the Eclipse IDE. The session connects via the IP port number and uses the workspace you specified previously with eclipseidesetup.

When you build a model, the software uses eclipseide to create an IDE handle object. In that case, the software gets the name of the IDE handle object from the IDE link handle name parameter (default value: IDE_Obj) in the configuration parameters for the model.

To assign a timeout period to the handle object, enter the following command:

IDE_Obj = eclipseide('timeout', period)

For period, enter the number of seconds that the handle object waits for processor operations (such as load) to complete. Operations that exceed the timeout period generate timeout errors. The default period is 10 seconds.

Examples

For example, to create an object handle with a 20-second timeout period, enter:

>> IDE_Obj = eclipseide('timeout',20)
Starting Eclipse(TM) IDE...

ECLIPSEIDE Object:
  Default timeout  : 20.00 secs
  Eclipse folder   : C:\eclipse3.4\eclipse
  Eclipse workspace: C:\WINNT\Profiles\rdlugyhe\workspace
  Port number      : 5555
  Processor site   : local

See Also

eclipseidesetup

  


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