After reading excel data into matlab the data is not complete
Afficher commentaires plus anciens
After reading the excel data into matlab, the data is not complete, is there any limitation of data?
Réponses (1)
Cedric
le 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 commentaires
Cedric
le 21 Oct 2017
Is this answer working for you? If so please [Accept] it. If not, I am happy to provide more information.
Wei-Hsuan
le 24 Oct 2017
Walter Roberson
le 24 Oct 2017
If your file is not confidential, can you attach it for us to examine?
Catégories
En savoir plus sur Spreadsheets dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!