Building gmt-mex under Windows¶
- Obtain the gmt-mex source code: cd into a suitable directory for development (e.g., GMTdev) and run
svn co svn://gmtserver.soest.hawaii.edu/gmt-mex/trunk gmt-mex
- Edit the compile_mex.bat and set the paths of your GMT, NETCDF and GDAL installations.
- Run the compile_mex.bat, which will create these two files: gmtmex.mexw64 and a gmtmex.pdb
- Put those files somewhere under the MATLAB path, and remember that the GMT bin dir must on the Windows path as well so that the dependencies may be found by MATLAB.