I have MATLAB 2012b and MATLAB compiler runtime v717, but it won't complile. I get the following:
Error using mex (line 206)
Unable to complete successfully.
Error in compile (line 41)
mex -f lib-mingw/mexopts.bat cdi_varlist.c cdi_mx.c -Iinclude -Llib-mingw -lcdi -lnetcdf
I have no mexopts.bat. Can you help?
Does this reader read grib2 data format or only grib 1? I also encountered this problem when compiling:
/usr/bin/ld: cannot find -lcdi
collect2: ld returned 1 exit status
mex: link of 'cdi_varlist.mexa64' failed.