필터 지우기
필터 지우기

Problem with xlsread (Matlab not responding)

조회 수: 1 (최근 30일)
Sergio
Sergio 2015년 7월 26일
답변: Image Analyst 2015년 7월 28일
Hi guys,
I'm facing a very weird issue. All of a sudden, the xlsread command is no longer working. Using debug mode, I've noticed that the program stays forever at the command line:
Excel = actxserver('excel.application');
I'm running Matlab 2015a 64 bits and I use Excel 2013.
Any ideas?
thanks
ps: it was working normally this morning and I don't remember doing any modification on my computer since then.

답변 (2개)

Jan
Jan 2015년 7월 27일
편집: Jan 2015년 7월 27일
Have you tried to turn the computer off and on?
  댓글 수: 4
Sergio
Sergio 2015년 7월 27일
Since then, yes. Rebooted several times, turned it off and on...it's a mystery!
Cedric
Cedric 2015년 7월 28일
My guess is that you won't have a lot of answers, as it may be an issue with your system, or of MATLAB integration in your system. The only thing that I could recommend is to create a COM server using another language (e.g. Python) and to see if it works. If it does, then maybe reinstall MATLAB.

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


Image Analyst
Image Analyst 2015년 7월 28일
Why are you calling xlsread() when you've opened your workbook with ActiveX? Don't. Do it one way or the other, but not both at the same time.

카테고리

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