importing data from a text file to matlab
1 次查看(过去 30 天)
显示 更早的评论
I want to import data from a text file folder(which has several files within it) to matlab workspace. Suppose my one file consist of 3-4 columns and i want to label each column into a separate array. Any suggestions?
0 个评论
采纳的回答
Sean de Wolski
2014-12-8
Right click on the file and select "Import Data". Then select the data you want and import it. If you want to automate this, click the down arrow under the import check box and generate a script or a function.
3 个评论
Sean de Wolski
2014-12-9
This is exactly what the Import Tool will let you do if you select column vectors.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Import and Export 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!