Code covered by the BSD License  

Highlights from
Google Earth Toolbox

image thumbnail
from Google Earth Toolbox by scott lee davis
Various plotting/drawing functions that can be saved as KML output, and loaded in Google Earth

demo_ge_makekmz()
function demo_ge_makekmz()

% specify directory to store collada models:
rLinkStr = ['barbs',filesep];

% generate lime-colored collada models:
ge_barbdaes('daeDir',rLinkStr,...
            'barbColor','FFFF00',...
            'barbAlpha','A0',...
            'msgToScreen',false)

kmlStr = ge_windbarb(10,20,300,10,0,...
    'arrowScale',1e5,...
    'rLink',rLinkStr);

ge_output('barbs.kml',kmlStr)

sources = {fullfile(googleearthroot,'data','barbdaes');
            'barbs.kml'};

destinations = {rLinkStr;
                   'barbs.kml'};

ge_makekmz('barbs.kmz','sources',sources,...
                  'destinations',destinations)

















Contact us at files@mathworks.com