large excel file reading.

3 ビュー (過去 30 日間)
Pappu Murthy
Pappu Murthy 2018 年 2 月 2 日
回答済み: Bob Thompson 2018 年 2 月 2 日
my excel file has 61 columns and 180,000 rows or so. It is taking forever to read it. i am using Readtable with appropriate range specified. It worked fine for smaller size excel file. Is there a trick to it?

回答 (1 件)

Bob Thompson
Bob Thompson 2018 年 2 月 2 日
It is possible to use the ActiveX ability, (actxserver('Excel.Application') to start excel) but this option can take a bit of learning and requires a lot more manual control for sheet names and the like.
Basically, what it does is opens Excel within matlab and conducts the operations with the consistently open file. It will still take some time, simply because you have a lot of data, but it will prevent any opening and reopening you may have with tableread or other commands.

カテゴリ

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