|31 Mar 2012||grdread2 Uses built-in netCDF capability to load a grid file created by GMT (Generic Mapping Tools) v3 or v4||Kelsey Jordahl||
Could you provide more details about how it is not working? I can confirm that it still works for me on OS X 10.7.3 (Lion) and R2012a, with files created by GMT 4.5.7-1 in multiple grid formats.
grdinfo output for the .grd file and MATLAB error message would be helpful.
|01 Dec 2009||grdread2 Uses built-in netCDF capability to load a grid file created by GMT (Generic Mapping Tools) v3 or v4||Kelsey Jordahl||
It works for me on R2009b, at least on Mac OS X (maci64). It doesn't seem to work any differently from R2008b for me, but I haven't tried it yet on other platforms.
Are you sure that you have a COARDS-compliant NetCDF grid generated by GMT version 4 or later? It will not work with grids generated by earlier versions of GMT, even though v3 was also NetCDF based, but it was not COARDS. I am working on an updated version of grdread2.m that will read these grids. Also, it will not necessarily work on more general COARDS-compliant NetCDF files generated by other programs, even though GMT may be able to read them.