图片缩略图

在GUI national mall

version 1.1.0.0 (1.33 MB) by 斯文刚
通过ActiveX在Matlab - GUI中打开GE

1.6 k下载

更新2011年8月04

查看许可协议

这个函数是一个关于如何在Matlab图形或GUI中集成GoogleEarth的例子。
你需要安装GoogleEarth插件。因此,只需访问一个网站,插件是需要的
并安装它,例如:http://code.google.com/intl/de-DE/apis/earth/

下一步你将需要一个api-key-see:http://code.google.com/intl/de-DE/apis/earth/documentation/index.html
获取该键并将其放入ge_ma.html的头部,同时替换ABCDEF"——>
src = "https://www.google.com/jsapi?key=ABCDEF" > < > /脚本
也许abcdef键也可以工作-尝试一下。

剩下的就简单多了:

在Matlab GUI中集成GE的解决方案很简单,只需在GUI中嵌入一个Microsoft Internet ActiveX-Control (ge_html—> line 56);你需要activex: shell.explorer.2(见Matlab帮助)

然后你可以导入任何网站,或者在我们的例子中,一个本地html文档与你编程的GoogleEarth功能(ge_ma.html)。要了解更多的函数示例,请参阅谷歌Code Playground:
http://code.google.com/apis/ajax/playground/?exp=earth#hello,_earth

在Playground,你可以切换到“编辑HTML”,并在本地机器上保存代码。内部的函数可以从Matlab中调用,如GUI的按钮所示。

进一步阅读:
http://code.google.com/intl/de-DE/apis/earth/
http://code.google.com/intl/de-DE/apis/earth/documentation/reference/index.html
参见Matlab Help: actx_explore,以集成Shell-Explorer

由Sven koemer编写:koemer (underline) Sven (add)gmx.de
日期:2011/07/27

引用作为

斯文刚(2021)。在GUI national mall(//www.tianjin-qmedu.com/matlabcentral/fileexchange/32423-googleearth-in-gui), MATLAB中央文件交换。检索

MATLAB版本兼容性
创建R2010a
与任何版本兼容
平台的兼容性
窗户 macOS Linux

社区寻宝

在MATLAB中心找到宝藏,并发现社区如何可以帮助你!

开始狩猎!