Save the workspace to a file.
save filename
save a filename -ASCII
save a, b, c, d, filename
{a, b, c, d...} Any variables in the worksapce.
filename The name of the file to which the data is to be saved.

Without the -ASCII flag, the data is saved in Matlab 5.0 format, and is at least theoretically portable across machines and operating systems.

If the type of the data is such that it cannot be saved in the Matlab format a message is printed out.

With the -ASCII flag, only a single matrix can be saved.