Borrar filtros
Borrar filtros

How to read large size excel files in matlab?

3 visualizaciones (últimos 30 días)
Mallikarjun Yelameli
Mallikarjun Yelameli el 18 de En. de 2017
Comentada: Vandana Ravichandran el 20 de En. de 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 comentarios
dpb
dpb el 18 de En. de 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 el 20 de En. de 2017
What is the version of MATLAB you are using? Please share a sample code you are using and finding it to be slow

Iniciar sesión para comentar.

Respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by