필터 지우기
필터 지우기

Opening up netcdf in Mac

조회 수: 5 (최근 30일)
Yvonne
Yvonne 2011년 7월 5일
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
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
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)

카테고리

Help CenterFile Exchange에서 NetCDF에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by