home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / l / l460 / 2.ddi / GENERAL.DI$ / SAVE.M < prev    next >
Encoding:
Text File  |  1993-03-07  |  1.2 KB  |  27 lines

  1. %SAVE    Save workspace variables on disk.
  2. %     SAVE fname saves all workspace variables to the binary "MAT-file"
  3. %       named fname.mat. The data may be retrieved with LOAD. Omitting the
  4. %       filename causes SAVE to use the default filename "matlab.mat".
  5. %
  6. %     SAVE fname X  saves only X.
  7. %     SAVE fname X Y Z  saves X, Y, and Z.
  8. %
  9. %     SAVE fname X Y Z  -ascii  uses 8-digit ASCII form instead of binary.
  10. %     SAVE fname X Y Z  -ascii -double  uses 16-digit ASCII form.
  11. %     SAVE fname X Y Z  -ascii -double -tabs  delimits with tabs.
  12. %
  13. %       If fname is "stdio", SAVE sends the data to standard output.
  14. %
  15. %    The binary formats used in MAT-files depend upon the size and type of
  16. %    each matrix.  Small matrices and matrices with any noninteger entries
  17. %    are saved in floating point format requiring 8 bytes per real element.  
  18. %    Large, integer matrices may be saved in compact formats requiring
  19. %    only 1, 2 or 4 bytes per element.  See the External Interface Library
  20. %    for more details, including C and Fortran routines to read and write
  21. %    MAT-files from external programs.
  22. %
  23. %     See also LOAD, DIARY, FWRITE, FPRINTF, IMWRITE.
  24.  
  25. %    Copyright (c) 1984-93 by The MathWorks, Inc.
  26. %    Built-in function.
  27.