Loop multiple .kml files from directory
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have a set of .kml files with information that I want to load one by one stack in a 3D array. I made the first step manually like this:
a = extractfield(kml2struct('Bus1.kml'),'Latitude');
b = extractfield(kml2struct('Bus1.kml'),'Longitude');
c(:,1,1) = a; c(:,2,1) = b;
So, c should be the 3D array and the next loop should perform:
a = extractfield(kml2struct('Bus2.kml'),'Latitude');
b = extractfield(kml2struct('Bus2.kml'),'Longitude');
c(:,1,2) = a; c(:,2,2) = b;
Etc...
How can I do this?
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Octave finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!