Good day. I seem to get the below mentioned xlmwrite error message. Does this suggest my Excel is not compatible? I am using Matlab 2015a. Thanks

조회 수: 1 (최근 30일)
Warning: Could not start Excel server for export. XLSWRITE will attempt to write file in CSV format. > In xlswrite (line 174)
  댓글 수: 7
MattyK
MattyK 2016년 5월 5일
Thanks very much for the help. However, i am getting this below error. >> Excel = actxserver('Excel.Application') Undefined function or variable 'actxserver'.
Meade
Meade 2016년 5월 5일
편집: Meade 2016년 5월 5일
Very strange. What about if you run this:
list = actxcontrollist;
for k = 1:2
sprintf(' Name = %s\n ProgID = %s\n File = %s\n', list{k,:})
end
Does anything say excel here? If this also fails/isempty, you may have a problem with the activex part of Windows (separate from Matlab)
If this doesn't work, you could try connecting to Excel using .NET (instead of COM). I've not used it, but it looks reasonable.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Use COM Objects in MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by