使用Matlab中的NCTOOLBOX读取GRiB2文件,

使用Matlab中的NCTOOLBOX读取GRiB2文件,,matlab,grid,grib,Matlab,Grid,Grib,我尝试使用NCTOOLBOX打开从ucar.edu下载的CFSR gridded binary edition 2(grb2)降水文件。但是,我收到了错误消息: "nc=ncgeodataset('prate.gdas.200812.grb2') Error using ncdataset (line 91) Failed to open prate.gdas.200812.grb2 Error in cfdataset (line 59) obj = obj@ncdatase

我尝试使用NCTOOLBOX打开从ucar.edu下载的CFSR gridded binary edition 2(grb2)降水文件。但是,我收到了错误消息:

"nc=ncgeodataset('prate.gdas.200812.grb2')
Error using ncdataset (line 91)
Failed to open prate.gdas.200812.grb2

Error in cfdataset (line 59)
        obj = obj@ncdataset(url);

Error in ncgeodataset (line 74)
        obj = obj@cfdataset(url);

Caused by:
    Undefined variable "ucar" or class "ucar.nc2.dataset.NetcdfDataset.openDataset".

有人能调试一下这里发生了什么吗?

对于这个愚蠢的问题,我很抱歉,但是你确定你的设置正确吗?因为我有同样的问题,直到我安装了它,它在这里是怎么说的
祝你好运