write a b c ... saves the specified user variables in Matlab binary format to the file "matlab.mat". Output can be redirected using > file, or >> file to append. With no arguments (other than possible output redirection) write save's all user variables.