Hello,
I'm trying to work with netcdf files using MATLAB version (R2009a) but I'm not able to open/read or display the content of the netcdf file.
Here are the commands I tried and the messages I got.
ncid = netcdf.open('D:\climatology\Y2010.nc','NOWRITE');
??? Error using ==> netcdflib
Unable to open netCDF file, library error message "NetCDF: Unknown file format"
Error in ==> open at 54
[varargout{:}] = netcdflib ( 'open', filename, mode );
ncdisp('D:\climatology\Y2010.nc');
??? Undefined function or method 'ncdisp' for input arguments of type 'char'.
Any suggestions to solve this problem?
Thank you. -Nora

 채택된 답변

Walter Roberson
Walter Roberson 2016년 4월 28일

0 개 추천

The hint I see in people's code is that R2011a might have been the first version that supported NetCDF4 files.

추가 답변 (0개)

태그

질문:

N A
2016년 4월 28일

답변:

2016년 4월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by