Getting warning: Could not start Excel server for export. XLSWRITE will attempt to write file in CSV format.

7 ビュー (過去 30 日間)
XLSWRITE does not write the Excel file or a CSV file. I'm using a program that I know works on another computer, but to simplify testing I've tried running the following from the command line: xlswrite('testdata.xls', [1 2 3]). I get the same warning and nothing is written.
I am running Matlab R2012a, Excel 2007, Windows 7. Matlab and Excel are installed locally.
I have looked for the answer from other threads, but could not find a solution. Any help would be appreciated.

採用された回答

Walter Roberson
Walter Roberson 2016 年 4 月 25 日
If you are using a 64 bit MATLAB but the excel is 32 bit then you would not be able to communicate with it.
Meanwhile try xlwrite from the file exchange
  2 件のコメント
jasonrot
jasonrot 2016 年 4 月 25 日
I am running 64 bit MATLAB with 32 bit Excel. Thanks, I will look into xlwrite.
rutong zeng
rutong zeng 2016 年 5 月 8 日
I have got the same problem and solved it through opening the service 'Matlab Server'.

サインインしてコメントする。

その他の回答 (2 件)

Fangjun Jiang
Fangjun Jiang 2016 年 4 月 25 日
Sometimes it may be overlooked, but can you check if you can open an Excel file in Excel by double clicking that file? I had this error reported before and it was due to corrupted Excel installation.

Myraj
Myraj 2019 年 4 月 11 日
Hi
I had this error and I resolve it by changing the comma " , " in the configration on control panel/clock, region and language / region and language/ additional settings/ decimal symbol and put " . " or change the format to french(france) when it's changed directly.
good luck

カテゴリ

Help Center および File ExchangeSpreadsheets についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by