kml.run
Save and run the current kml file, opening it in the default kml viewer.
Contents
Syntax
k = kml('kml title here'); --- any plot code here k.run;
Description
kml.run will save the kml file and open it in the default kml viewer. Normally, this means it will open the file in Google Earth. It can be downloaded at http://earth.google.com
Example
% Create a new kml object k = kml('my kml file'); % Create a sample plot inside the kml t = linspace(0,360,1000); k.plot(30*t, 90*cosd(t/2)); % Save the kml and open it in Google Earth k.run;
This is the result of running this example:

This file is part of the kml toolbox. Copyright 2012 Rafael Fernandes de Oliveira (rafael@rafael.aero)