MATLAB limitation in reading from excel ?!

조회 수: 11 (최근 30일)
Peyman
Peyman 2012년 10월 24일
답변: Pruthvi G 2019년 10월 3일
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
Srinivas
Srinivas 2012년 10월 24일
version of MATLAB
Peyman
Peyman 2012년 10월 25일
R2012a (7.14.0.739) - 64-bit

댓글을 달려면 로그인하십시오.

답변 (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일

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by