save all variables except what the user specifies
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.
Cite As
ioxv.4623 (2026). save all variables except what the user specifies (https://www.mathworks.com/matlabcentral/fileexchange/23939-save-all-variables-except-what-the-user-specifies), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
