To extract data from file
3 次查看(过去 30 天)
显示 更早的评论
I have written code to extract data from txt file.The extracted data values are not same. Attached is code as well as file. I shall be thankful if someone would help me out. Thanks
0 个评论
回答(1 个)
Azzi Abdelmalek
2016-5-1
a=importdata('Run5.txt',' ',2)
out=a.data
2 个评论
Azzi Abdelmalek
2016-5-1
Your text file shows multiple columns, if you want one column, use reshape function, or
out=out(:)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Large Files and Big Data 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!