Reading a txt file and arranging a table

2 views (last 30 days)
andrea vironda
andrea vironda on 27 Jul 2020
Commented: andrea vironda on 27 Jul 2020
I have a txt file in which there are X,Y,Z positions of a tracking.
The file doesn't go to cape, so it's all in a single line:
I tried to use this code
T = readtable(filename,'Delimiter','"');
But i obtain only a long string of "VariableNames":
How can i het the value in the correct way?
I would need a nx3 matrix, with each line fullfilled with 3 values (lat,long,ele)
andrea vironda
andrea vironda on 27 Jul 2020
Here's the code and the starting .xml
clc; clear all; close all
mlStruct = parseXML(filename)

Sign in to comment.

Answers (0)



Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!