MATLAB crashes with grdimage

Yep. It does look like a nightmare!
I am now trying to debug gmtmex with Xcode following this and I cannot even compile the Mex file. The error I get says that the gmt.h file is missing. I’ve tried searching for it, but it doesn’t seem to exist anywhere :slightly_frowning_face:

it’s just that I am not ready to give up yet :sweat_smile:

You probably have to tell XCode where you installed GMT so it can find include files and libraries