Opening up netcdf in Mac
10 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
Ashish Uthama
2011 年 7 月 6 日
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)
回答 (1 件)
Wendy Fullam
2012 年 9 月 17 日
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 件のコメント
参考
カテゴリ
Help Center および File Exchange で NetCDF についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!