Here you will find the mex files grdinfo, grdread, and grdwrite, which can be used in Matlab to read and write GMT grdfiles. The package originated with David Sandwell, UCSD, and was subsequently modified by Paul Wessel and Phil Sharfstein, UCSB. It is now maintained by Paul Wessel.