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

URL=url_from_folder(F,S)
function URL=url_from_folder(F,S)

p=mfilename('fullpath');
[ppath,name,ext,vrsn]=fileparts(p);
URL = [ppath,filesep,F,filesep,S];
if isdir(URL)&&URL(end)~=filesep
    URL=[URL,filesep];
end
    

Contact us at files@mathworks.com