Importing a CSV with numbers and strings and blank space
2 次查看(过去 30 天)
显示 更早的评论
I am trying to import a ".csv" file with some meta data at the start and than and than a lot of data. However one column of the data is a sting variable and the others are all numbers. I also need to have access to some of the meta data. The file attached is a small example version of the files I need to read.
0 个评论
回答(1 个)
ahmed nebli
2018-9-10
u need to save the csv file as xls file and then use the function xlsread, it should work , use something like this: xlsread('your_file.csv');
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!