| Embedded IDE Link™ MU | ![]() |
activate(id,'my_project.gpj')
activate(id,'my_project.gpj') uses handle id to activate the project named my_project.gpj in the IDE. If my_project.gpj does not exist in the IDE, MATLAB issues an error that explains that the specified project does not exist.
MULTI allows you to have two or more projects with the same name open at the same time, such as c:\try11\try11.gpj and c:\try12\try11.gpj. If you use the following function to activate the project try11.gpj at the command prompt, where you do not provide the full path to the project:
activate(id,'try11.gpj')
the software cannot tell which project named try11.gpj to activate and may not activate the correct one. The following steps describe how the software decides which project to activate.
Search the current Green Hills MULTI IDE directory to find the first project with the specified name. If the search finds the project, Embedded IDE Link MU activates the project and returns.
If the specified project is not found in the IDE, search the MATLAB path to find a project with this name. If the search finds the project, Embedded IDE Link MU activates the project and returns.
If the search cannot find a project with the specified name in the Green Hills MULTI IDE or on the MATLAB path, the software returns an error saying it could not find the specified project.
![]() | Functions — Alphabetical List | add | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |