After reading excel data into matlab the data is not complete
2 次查看(过去 30 天)
显示 更早的评论
After reading the excel data into matlab, the data is not complete, is there any limitation of data?
0 个评论
回答(1 个)
Cedric
2017-10-13
Look at the possible output arguments of XLSREAD. The function splits numeric and text data, and also outputs raw data:
[num, txt, raw] = xlsread( 'MyFile.xslx' ) ;
will extract numbers in numeric array num, the text in cell array txt, and everything in cell array raw.
If you have mixed content, raw is what you need to use:
[~, ~, raw] = xlsread( 'MyFile.xslx' ) ;
4 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!