new - New text, project, or configuration file

Syntax

new(vd,'name','type')

Description

new(vd,'name','type') creates a new file, project, or build configuration in the active project. Input argument name specifies the name assigned to identify the new file, project, or configuration.

When you are creating a new file or project, name is a filename that can include the full path to the new file. If you omit the path, new creates the new file or project in your current VisualDSP++® working directory.

To define the kind of entity to create, type accepts the strings shown in the following table.

Type StringDescription
textCreate an empty text file in the current session.
projectCreate a new executable project in the current session. Sometimes this is called a DSP executable file.
projlibCreate a new library project in the current session.
buildcfgCreate a build configuration in the active project.

Examples

new(vd,'my_project.dpj','project',project_type) creates a new project 'my_project.dpj' of type project_type. The project_type argument is optional; the default project type is DSP executable file.

new(vd,'my_config','buildcfg') creates a new build configuration, named my_config, in the active project.

See Also

activate

close

save

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS