How could I read a single cell of an .csv file using readmatrix function with import options?
56 次查看(过去 30 天)
显示 更早的评论
Omar Andrés Rosada González
2020-8-5
回答: Omar Andrés Rosada González
2020-8-6
Hello to everyone, I need to process different data from a .csv file. I do ask for the user what are the row ranges that need to read the code, with that, I need to save a value from a particular cell from the spreadsheet.
Next work very well for me. But I would like to know if it's possible to make this using import options.
kappa = readmatrix('1_5B_2.csv', 'Range', 'D6:D6');
Thanks in advance.
2 个评论
dpb
2020-8-6
"possible to make this using import options."
Not sure what you mean here...explain more in detail.
Sudheer Bhimireddy
2020-8-6
Try this link to know the what import options you have for the file being read.
Then you can use either readtable to readmatrix with possible import options.
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Import and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!