|
虽然MATLAB自带地图工具箱,但是有时候会因为特定的需求显得捉襟见肘,而为了避免将精力过多地花在画图代码上,m_map工具箱是一个很好的选择。这里给出作者在程序的help文档里的开篇语:
m_map - mapping toolbox (Author: rich@eos.ubc.ca)
Version 1.4h Nov 2014
You have collected your data, loaded it into Matlab, analyzed
everything to death, and now you want to make a simple map showing
how it relates to the world.
But you can't.
Instead you have to figure out how to save all your data, and
then read it into a mapping program, and then spend all that extra
time figuring out why the mapping program doesn't give you what
you expected it would...
No more!
介绍到此结束,下面就安装配置给出说明。
1、下载并解压。主页如下:
https://www.eoas.ubc.ca/~rich/private/mapug.html
2、将m_map文件夹,复制到MATLAB工具箱路径中,例如:
C:Program FilesMATLABR2015btoolbox
3、打开MATLAB,将m_map程序路径添加进path。
以上面的路径为例,在MATLAB命令窗口输入:
path(path,'C:Program FilesMATLABR2015btoolboxm_map')
4、验证是否配置成功。
在命令窗口输入help m_map,若出现帮助说明,则配置成功。若显示m_map not found,就需要再检查并重新配置了。
5、防止MATLAB每次重新启动后都需要重新添加路径。
用记事本编辑C:Program FilesMATLABR2015btoolboxlocalpathdef.m文件,找到%%% BEGIN ENTRIES %%%,在最下面添加m_map的路径:
matlabroot,'toolboxm_map',...
保存后退出。
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-11-25 22:36
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社