Skip to Main Content Skip to Search
Product Documentation

save - Save file

Syntax

IDE_Obj.save(filename,filetype)

IDEs

This function supports the following IDEs:

Description

Use IDE_Obj.save(filename,filetype) to save open files in the IDE project.

The filename argument defines the name of the file to save. When entering the file name, include the file extension.

The optional filetype argument defines the type of file to save. If you omit the filetype argument, filetype defaults to 'project'. Except with VisualDSP++ IDE, 'project' is the only supported option. Therefore, you can omit the filetype argument in most cases.

 CCS IDEEclipse IDEMULTI IDEVisualDSP++ IDE
'project'YesYesYesYes
'projectgroup'NoNoNoYes

Examples

To save all project files:

IDE_Obj.save('all')

To save the myproject project:

IDE_Obj.save('myproject')

To save the active project:

IDE_Obj.save([])

For VisualDSP++ IDE, to save all projects in the project groups:

IDE_Obj.save('all','projectgroup')

For VisualDSP++ IDE, to save the myg.dpg project group:

IDE_Obj.save('myg.dpg','projectgroup')

For VisualDSP++ IDE, to save the active project in the project groups:

IDE_Obj.save([],'projectgroup')

See Also

adivdsp | close | load

  


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