How can I import a csv with unknown dimension?
3 次查看(过去 30 天)
显示 更早的评论
I have several *.csv files which I need to import. Each csv file should be imported as one cell array of strings. The problem is that the number of rows and columns can vary. How can i write a script which allow the import regardsless of the csv dimension?
Thanks
0 个评论
回答(1 个)
madhan ravi
2018-11-29
https://www.mathworks.com/help/matlab/import_export/process-a-sequence-of-files.html follow the instructions in the link use a cell array and mention the correct format which is csv
另请参阅
类别
在 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!