MATLAB limitation in reading from excel ?!

3 ビュー (過去 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 Center および File ExchangeSpreadsheets についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by