/[MITgcm]/MITgcm_contrib/gael/profilesMatlabProcessing/profiles_misc/ncload.m
ViewVC logotype

Diff of /MITgcm_contrib/gael/profilesMatlabProcessing/profiles_misc/ncload.m

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.3 by roquet, Thu Apr 14 23:35:42 2011 UTC revision 1.4 by gforget, Wed Jun 15 17:06:33 2011 UTC
# Line 1  Line 1 
1  function theResult = ncload(fileIn, varargin);  function [] = ncload(fileIn, varargin);
2    
3  % ncload -- Load NetCDF variables.  % ncload -- Load NetCDF variables.
4  %  ncload('fileIn', 'var1', 'var2', ...) loads the  %  ncload('fileIn', 'var1', 'var2', ...) loads the
# Line 70  end Line 70  end
70    
71  ncclose(f);  ncclose(f);
72    
 result = varargin;  
   
 if nargout > 0  
     theResult = result  
 else  
     ncans(result)  
 end  
   

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.22