How to read large size excel files in matlab?

2 Ansichten (letzte 30 Tage)
Mallikarjun Yelameli
Mallikarjun Yelameli am 18 Jan. 2017
I have a file of 30000 rows and 1026 columns. If I use "xlsread" matlab functions then it takes about 6 to 7 minutes to read. Please suggest me any other functions or techniques in matlab to handle large size excel sheets.
  2 Kommentare
dpb
dpb am 18 Jan. 2017
While xlsread is no speed demon, I've never had that kind of slowdown even with large worksheets on that order. Which Matlab release/OS/Excel version out of curiosity; mayhaps somebody will know something that might be release-specific.
Other than that, "rolling your own" to do direct COM interaction with Excel or save the data from Excel in text format (CSV, say) and reading it that way would be the alternatives. I'd personally try to eliminate Excel entirely from the equation if possibly could and generate the data for Matlab in much more amenable form.
Vandana Ravichandran
Vandana Ravichandran am 20 Jan. 2017
What is the version of MATLAB you are using? Please share a sample code you are using and finding it to be slow

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by