Import data from text file
이전 댓글 표시
I have a text files with two colums, when I used the
importfile(Data_Chan1.txt);
data=Data_Chan1(2:end,1:2);
I get error in reading the data.
댓글 수: 5
Walter Roberson
2022년 1월 14일
Have you experimented with readtable() ?
Ali Agha
2022년 1월 14일
Ali Agha
2022년 1월 14일
Ali Agha
2022년 1월 14일
You need to mung your txt file, first few lines are totally messed up. Maybe you manually modified it (?).
doc readtable
doc readmatrix
doc readlines % to get a feel on your data structure
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Standard File Formats에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!










