Import data TXT File to Matlab
1 回表示 (過去 30 日間)
古いコメントを表示
Good Night,
I would like to import the data of a TXT file in Matlab. I was using the function 'detectImportOptions', but I couldn't import all the data. Is it possible to import the data of this example DATA_A and DATA_B in two different matrices?
Thanks for your help guys,
![CPG2.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/269721/CPG2.png)
0 件のコメント
回答 (1 件)
Jakob B. Nielsen
2020 年 2 月 4 日
You will want to clean up your files a little before importing them; Matlab can understand ; , : tabs and spaces as delimiters, but not multiple at once. Then, take a look at the importdata function, it has all the things you need.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Data Import and Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!