MATLAB limitation in reading from excel ?!

9 次查看(过去 30 天)
Hello everybody!
I need to read data from an excel file in my code, but the file includes more than 500000 rows! (500900 to be accurate) and then do so many calculations and fittings, ... .
What options do I have? Any ideas?
Thanks

回答(2 个)

Sean de Wolski
Sean de Wolski 2012-10-24
doc xlsread
If it can't read it all at once, read it in chunks to not overload the COM Excel Server and process it as you go.
  2 个评论
Peyman
Peyman 2012-10-25
Ok. But how "reading in chunks" can be done? (beginner)
Ilham Hardy
Ilham Hardy 2012-10-25
Hint:
Use for loop and use the xlrange option of the xlsread command.

请先登录,再进行评论。


Pruthvi G
Pruthvi G 2019-10-3

Community Treasure Hunt

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

Start Hunting!

Translated by