How do I get the raw 'xlsread' cell array format when transitioning to readtable/readcell/readmatrix?
Show older comments
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.
Accepted Answer
More Answers (0)
Categories
Find more on Spreadsheets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!