Reading a txt file and arranging a table
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi!
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
filename=('G-B.txt');
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)
댓글 수: 6
Image Analyst
2020년 7월 27일
You forgot to attach your file. Please attach your XML text file. Zip it up if you have to. Then use the paper clip icon.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 File Operations에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

