Opening up netcdf in Mac
10 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi, I am having problems opening up netcdf file in Matlab in Mac. I have no previous problems opening up netcdf file in Windows. But since I started using Mac, I have been having difficulties. I tried opening up the file using the code below:
ncquiet
filename=['../matlab/Motuhou1_Wind_tempUpdate.nc'];
ncdf_object= netcdf(filename,'nowrite');
%getting the variable names
variables = var(ncdf_object);
ncnames(var(ncdf_object))
...............
But error messages came up: ??? Error using ==> mexnc Too many output arguments.
Error in ==> mexcdf53 at 9 [varargout{:}] = feval('mexnc', varargin{:});
Error in ==> ncmex at 139 [varargout{:}] = feval(fcn, varargin{:});
Error in ==> netcdf.open at 20 [theNCid, status] = ncmex('open', name(self), thePermission);
Error in ==> netcdf.netcdf at 431 result = open(result, thePermission);
Error in ==> Motuhou1 at 4 ncdf_object= netcdf(filename,'nowrite');
How do I solve this problem as I am rather new to using matlab in Mac?
Thank you
1 Kommentar
Ashish Uthama
am 6 Jul. 2011
Yvonne, does your MATLAB version have any of these functions: http://www.mathworks.com/help/techdoc/ref/netcdf.html (If you do, they ought to work on a Mac with no additional setup)
Antworten (1)
Wendy Fullam
am 17 Sep. 2012
From Ashish Uthama: Yvonne, does your MATLAB version have any of these functions: http://www.mathworks.com/help/techdoc/ref/netcdf.html (If you do, they ought to work on a Mac with no additional setup)
0 Kommentare
Siehe auch
Kategorien
Mehr zu NetCDF finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!