| Contents | Index |
IDE_Obj =
eclipseide
IDE_Obj = eclipseide('timeout', period)
This function supports the following IDEs:
Eclipse IDE
Before using eclipseide for the first time:
Install the correct software versions of the Eclipse IDE, Eclipse software add-ons, and GNU tools. For detailed information and instructions, see Working with Eclipse IDE topic for Eclipse IDE.
Use the eclipseidesetup function to configure and install a plug-in that enables your coder product to interact with Eclipse IDE.
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.
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
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 |