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!










