File Exchange

image thumbnail

Control Google Earth Milktruck from Matlab

version (1010 KB) by Sven Koerner
Google Earth Monster Milktruck in Matlab GUI


Updated 15 Aug 2011

View License

This function is an example on how to integrate GoogleEarth Milktruckdemo in a Matlab figure or GUI and
control it via Matlab controls.

You need the GoogleEarth plugin to be installed. Therefore just visit a website, where the plugin is needed
and install it, e.g.:

The rest is more simple:

The workaround for integrating GE in Matlab GUI is simple to embed a Microsoft Internet ActiveX-Control in the GUI.
For the buttons just download uicontrol:

Further Readings:
see in Matlab Help: actx_explore for integrating Shell-Explorer

Programmed by Sven Koerner: koerner(underline)sven(add)
Date: 2011/08/04

Cite As

Sven Koerner (2019). Control Google Earth Milktruck from Matlab (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (2)

Great example! Beware, though, that you run this in a 32 bit version of MATLAB. Otherwise, Google Earth may fail to load.


changed title

added hint for uicontrol

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux