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 日間)
MattyK
MattyK 2016 年 4 月 20 日
編集済み: Meade 2016 年 5 月 5 日
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 Center および File ExchangeUse 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