4.0

4.0 | 1 rating Rate this file 8 Downloads (last 30 days) File Size: 3.93 KB File ID: #23939

save all variables except what the user specifies

by ioxv.4623

 

28 Apr 2009 (Updated 13 May 2009)

Save all workspace variables to harddisk except what the user specifies.

| Watch this File

File Information
Description

This function tries to do the opposite of what MATLAB's built-in SAVE function does: with SAVE, variables are written to a binary file if they are included in the input arguments. SAVEX, on the other hand saves all variables by default, except those which are specified by the user. This can be achieved through including either the name of the variable as an input argument to SAVEX, or by using one or more regular expressions as input argument.

see:
>> help savex
for three simple examples.

MATLAB release MATLAB 7.2 (R2006a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
05 May 2009 Darren Rowland

Would prefer if a warning is issued when no action is being taken. Also with the default action being 'save all variables by default', I expected that
savex(filename);
would automatically save the workspace to filename but this is not the case. Could you get this simply to redirect to
save filename;
when no variables are specified?

29 May 2009 Mark  
Please login to add a comment or rating.
Updates
13 May 2009

Implemented changes suggested by Darren Rowland (05 May 2009)

Tag Activity for this File
Tag Applied By Date/Time
data export ioxv.4623 28 Apr 2009 13:40:11
data import ioxv.4623 28 Apr 2009 13:40:12
modeling ioxv.4623 28 Apr 2009 13:40:12
modeling Buthi 17 Oct 2011 10:53:48

Contact us at files@mathworks.com