Skip to Main Content Skip to Search
Product Documentation

open - Open project in IDE

Syntax

IDE_Obj.open(filename,filetype,timeout)
IDE_Obj.open(myproject)

IDEs

This function supports the following IDEs:

Description

IDE_Obj.open(filename,filetype,timeout) opens a project in the IDE.

Use the filename argument to specify the file name, including the file name extension. If the filename does not include a file name extension, you can specify the file type using the filetype argument. If the file does not exist in the current project or folder path, MATLAB returns a warning and returns control to MATLAB.

For the optional filetype argument, you can specify the following types.

 CCS IDEEclipse IDEMULTI IDEVisualDSP++ IDE
'project' — Project filesYesYesYesYes
'ProjectGroup' — Project group filesNoNoNoYes
'program' — Target program file (executable)No. Use load instead.NoYesNo

If you omit the filetype argument, filetype defaults to 'project'.

The optional timeout argument determines the number of seconds MATLAB waits for the IDE to finish opening the file before returning an error. If you omit the timeout argument, the open method uses the timeout property of the IDE handle object (IDE_Obj) instead. The timeout error does not terminate the loading process on the IDE.

Examples

IDE_Obj.open(myproject) opens the myproject project in the IDE.

See Also

cd | dir | load | new

  


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