Home > atmlab > gformat > gf_save.m

gf_save

PURPOSE ^

GF_SAVE Saves gformat data

SYNOPSIS ^

function gf_save( G, file )

DESCRIPTION ^

 GF_SAVE   Saves gformat data

    Use *gf_load* to load the data.

 FORMAT   gf_save( G, file )
        
 IN   G       Gformat data to save.
      file    Name of file to create.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

DOWNLOAD ^

gf_save.m

SOURCE CODE ^

0001 % GF_SAVE   Saves gformat data
0002 %
0003 %    Use *gf_load* to load the data.
0004 %
0005 % FORMAT   gf_save( G, file )
0006 %
0007 % IN   G       Gformat data to save.
0008 %      file    Name of file to create.
0009 
0010 % 2010-01-07   Created by Patrick Eriksson.
0011 
0012 function gf_save( G, file )
0013 
0014 if atmlab('STRICT_ASSERT')
0015   rqre_nargin( 2, nargin );
0016   rqre_datatype( G, @isgformat );
0017   rqre_datatype( file, @ischar );
0018 end
0019 
0020 if nversion>=7.03
0021     save( file, 'G' ,'-v7.3');
0022 else
0023     save( file, 'G' );
0024 end

Generated on Mon 15-Sep-2014 13:31:28 by m2html © 2005