After reading excel data into matlab the data is not complete

1 view (last 30 days)
After reading the excel data into matlab, the data is not complete, is there any limitation of data?

Answers (1)

Cedric
Cedric on 13 Oct 2017
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 Comments
Walter Roberson
Walter Roberson on 24 Oct 2017
If your file is not confidential, can you attach it for us to examine?
Cedric
Cedric on 24 Oct 2017
Edited: Cedric on 24 Oct 2017
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).

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!