Using GMT tools in Matlab 2017a

Hi all, When I learn the GMT tools was supported by the latest Matlab version, I'm quite excited. But when I try to use GMT commands in Matlab just following the instruction that provided by GMT grounp http://gmt.soest.hawaii.edu/doc/5.4.2/matlab_wrapper.html, I met a problem: 'pscoast: Cannot open test.ps with mode w GMT: Module return with failure while executing the command'. So, if anyone konw why this happen and how to solve this problem, please teach me, thanks.

2 件のコメント

KSSV
KSSV 2017 年 8 月 2 日
Only make sure that the GMT5.3 binary dir is either in the Windows path (the installer does that for you) and in the MATLAB path (you have to do it yourself).
Is this done?
Shaula Garibbo
Shaula Garibbo 2020 年 1 月 29 日
Was this ever resolved? Trying to get this to work myself but having no luck, just getting error messages like this:
Invalid MEX-file '/donotaccess/opt/gmt/bin/gmtmex.mexmaci64':
dlopen(/donotaccess/opt/gmt/bin/gmtmex.mexmaci64, 6): Library not loaded:
/opt/gmt/lib/libXgmt.5.4.5.dylib
Referenced from: /donotaccess/opt/gmt/bin/gmtmex.mexmaci64
Reason: image not found
Error in gmt (line 30)
[varargout{1:nargout}] = gmtmex (cmd, varargin{:});

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange时序事件 についてさらに検索

タグ

質問済み:

2017 年 8 月 2 日

コメント済み:

2020 年 1 月 29 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!