xlsread doesn't recognize file has changed

조회 수: 1(최근 30일)
John Petersen
John Petersen 2016년 1월 18일
댓글: dpb 2016년 1월 18일
I have a .xlsx file that I read with xlsread. However, if I change the file and call it with xlsread again, it returns the old values. I've tried clear all, clear('myfile.xlsx'), pack, fclose all, but nothing seems to make the xlsread read the newly modified file, except for restarting matlab. How can I force it to read in the new file? And yes, I have saved the new file.(using 2015asp1)
  댓글 수: 3
dpb
dpb 2016년 1월 18일
Ah so...I've had some "issues" with Excel, too, so wouldn't surprise me. Perhaps there was another session that hadn't closed properly and was holding the file handle or the like...

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

답변(0개)

범주

Find more on Data Import from MATLAB in Help Center and File Exchange

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by