1. Download the M-Map zip archive file from https://www.eoas.ubc.ca/~rich/map.html
2. Unpack the zip archive and its sunfolder in the path: /Applications/MATLAB_R2015a.app/toolbox/
1) find the Applications folder, right click it and left click Open "Applications";
2) find the icon Matlab_R2015a, right click it and left click Show Package Contents;
3) double click the folder toolbox;
4) move the unpacked M-Map folder to the folder toolbox.
3. Open Matlab GUI, and run the following command:
addpath /Applications/MATLAB_R2015a.app/toolbox/m_map
4. Update the cache file using the command:
rehash toolboxcache
5. Finish! Test M-Map using the commands:
m_proj('oblique mercator');
m_coast;
m_grid;
转载本文请联系原作者获取授权,同时请注明本文来自刘洋洋科学网博客。
链接地址:http://blog.sciencenet.cn/blog-3031432-1001118.html
上一篇:Matlab: repeat copies of matrix 矩阵复制
下一篇:Matlab: use GSHHS/GSHHG coastline data in M_Map