how to read from text file and put into clean array

cell = textscan(fileID,'%d %s %d %d %d %d %d'); gives me a dirty cell and i dunno how to unpack it. Someone tell me how to read a text file line by line and put it in an array where each row and column contains the data. I dont want each element contains a cell of cell of cells of array of cells arrays PLEASE

1 件のコメント

Stephen23
Stephen23 2016 年 12 月 5 日
Duplicate:
https://www.mathworks.com/matlabcentral/answers/315414-cell-of-cell-to-cell

回答 (0 件)

この質問は閉じられています。

タグ

質問済み:

2016 年 12 月 5 日

コメント済み:

2016 年 12 月 5 日

Community Treasure Hunt

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

Start Hunting!

Translated by