After reading excel data into matlab the data is not complete

After reading the excel data into matlab, the data is not complete, is there any limitation of data?

回答 (1 件)

Cedric
Cedric 2017 年 10 月 13 日

0 投票

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 件のコメント

Cedric
Cedric 2017 年 10 月 21 日
Is this answer working for you? If so please [Accept] it. If not, I am happy to provide more information.
Wei-Hsuan
Wei-Hsuan 2017 年 10 月 24 日
Hello,thank you for answering. However the data is still not completed. For example, I have around 30000 data, it shows only 5000 data.
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).

サインインしてコメントする。

タグ

質問済み:

2017 年 10 月 13 日

編集済み:

2017 年 10 月 24 日

Community Treasure Hunt

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

Start Hunting!

Translated by