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?

回答(1 个)

Cedric
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 个评论
Walter Roberson
Walter Roberson 2017-10-24
If your file is not confidential, can you attach it for us to examine?
Cedric
Cedric 2017-10-24
编辑:Cedric 2017-10-24
And if it is somehow confidential but not completely, you can contact me using my profile email and we could check that out privately (I'd reply using my email address and you could reply attaching your file).

请先登录,再进行评论。

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by