| Contents | Index |
IDE_Obj.new('name','type')
This function supports the following IDEs:
Analog Devices VisualDSP++
Eclipse IDE
Green Hills MULTI
Texas Instruments Code Composer Studio v3
IDE_Obj.new('name','type') creates a project, library, or build configuration in the IDE.
The name argument specifies the name of the new project, library, or build configuration
The type argument specifies whether to create a project, library, or build configuration. The options are:
'project' — Executable project. Sometimes this file is called a "DSP executable file".
'projlib' — Library project.
'projext' — External make project. Only the CCS IDE supports this option.
'buildcfg' — Build configuration in the active project. Only the VisualDSP++ and CCS IDEs support this option.
When type is 'project' or 'projlib' , name can include the full path to the new file. You can use the path to differentiate two files with the same name. If you omit the path, the new method creates the file or project in the current IDE working folder.
If you omit the type argument, and the name argument does not include a file extension, type defaults to 'project'.
When type is 'buildcfg', use a unique name to differentiate the build configuration from other build configurations in the active project.
The new method no longer supports 'text' as a type argument.
IDE_Obj.new('my_project','project') #Create an IDE project, 'my_project.gpj'
IDE_Obj.new('my_build_config','buildcfg') #Create a build configuration.
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 |