Opening up netcdf in Mac
10 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commento
Ashish Uthama
il 6 Lug 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)
Risposte (1)
Wendy Fullam
il 17 Set 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 Commenti
Vedere anche
Categorie
Scopri di più su NetCDF in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!