How do I get the raw 'xlsread' cell array format when transitioning to readtable/readcell/readmatrix?
显示 更早的评论
I am trying to replace all 'xlsread' functions in my code with the new readtable/readcell/readmatrix functions. I would like the resulting output to be in the same format as when I was using 'xlsread'.
The 'xlsread' function had the following syntax:
[num,txt,raw] = xlsread(___)
How do I get output equivalent to the raw output of 'xlsread', meaning that it needs to be in cell array format, not double. 'readtable' or 'readmatrix' save as double and put NaN whenever there are non-numeric data.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!