This MATLAB function saves all variables from the current workspace in a MATLAB formatted binary file (MAT-file) called filename.
www.mathworks.com