How to read multiple arrays from a text file?
9 次查看(过去 30 天)
显示 更早的评论
I have a file like the one I attached.I want to read this file in MATLAB and store in seperate arrays like:
A = [2, 3, 4;5, 3, 0]
B= [6, 4, 2;1, 6, 9].
Or in a cell.
Also if anyone can suggest if I have a large number of datas and where it would be not be possible to store them individually.
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Text Files 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!