| Embedded IDE Link™ VS | ![]() |
save(vd,'filename')
save(vd,'filename','filetype')
save(vd,'filename') saves the file named filename in VisualDSP++® IDE. filename must match the name of the file to save and you must include the file extension. You can save only open files. If you specify the filename parameter as all, every open file of the defined type is saved (refer to the filetype parameter in the next syntax). A null input, [], for filename or no file name saves the current active file (the file that has focus).
save(vd,'filename','filetype') saves the specified file in VisualDSP++ IDE.
filetype defines the type of file to save. In the following table you see examples of save that use the allowed file type definitions—project, projectgroup, and text.
| save Command | Description of save Operation |
|---|---|
| save(vd,'all','project') | Saves all project files |
| save(vd,'my.dpj','project') | Saves the project my.dpj |
| save(vd,[],'project') | Saves the active project |
| save(vd,'all','projectgroup') | Saves all project files in the project groups |
| save(vd,'myg.dpg','projectgroup') | Saves the project group myg.dpg |
| save(vd,[],'projectgroup') | Saves the projects in the active project group |
| save(vd,'all','text') | Save all text files |
| save(vd,'text.c','text') | Saves the text file text.c |
| save(vd,[],'text') | Save the active text file |
![]() | run | visible | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |