'xlsread' cost much time to complete. Even readtable

조회 수: 2 (최근 30일)
yimin ch
yimin ch 2021년 5월 14일
댓글: yimin ch 2021년 5월 14일
Hello dear friends
xlsread works mormally, but now it cost more than 1min to import data from an Excel sheet (780kb), even readtable. It seems every functions related to open or import data from excel will cost long time suddenly (ONLY few seconds before). I don know why? is there any problems with Matlab or Excel?
Thanks for your reading and suggestion.
  댓글 수: 5
Walter Roberson
Walter Roberson 2021년 5월 14일
If I recall correctly, your R2018b version is the first version that supported the 'UseExcel' option, but it already defaults to false.
... But you could experiment with using 'UseExcel', false or 'UseExcel', true in order to see if it makes a difference.
yimin ch
yimin ch 2021년 5월 14일
A flawless solution!!!
I found 'UseExcel' opt, and when the logic value equals 0, there is no Excel background process, and the data reading complete in a flash :) Totally different when it equals 1.

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

답변 (0개)

카테고리

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