| Contents | Index |
IDE_Obj.activate('objectname','type')
This function supports the following IDEs:
Analog Devices™ VisualDSP++®
Eclipse™ IDE
Green Hills® MULTI®
Texas Instruments™ Code Composer Studio™ v3
Use the IDE_Obj.activate('objectname','type') method to make a project file or build configuration active in the MATLAB session.
When you make a project, file, or build configuration active, methods you invoke on the IDE handle object apply to that project, file, or build configuration.
IDE_Obj |
For IDE_Obj, enter the name of the IDE handle object you created using a constructor function. | |||||||||||||||
objectname |
For objectname, enter the name of the project file or build configuration to make active. For project files, enter the full file name including the extension. For build configurations, enter 'Debug', 'Release', or 'Custom'. Before using the activate method on a build configuration, activate the project that contains the build configuration. For more information about configurations, see Configuration. | |||||||||||||||
type |
For type, enter the type of object to make active. If you omit the type argument, type defaults to 'project'. Enter one of the following strings for type:
IDE support for type
|
After using a constructor to create the IDE handle object, h, open several projects, make the first one active, and build the project:
h.open('c:\temp\myproj1')
h.open('c:\temp\myproj2')
h.open('c:\temp\myproj3')
h.activate('c:\temp\myproj1', 'project')
h.buildAfter making a project active, make the 'debug' configuration active:
h.activate('debug','buildcfg')

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 |