Error : xlswrite() 'Interface​.Microsoft​_Excel_12.​0_Object_L​ibrary.Ran​ge'

1 回表示 (過去 30 日間)
Jessica Lam
Jessica Lam 2012 年 7 月 6 日
Hi
I just simply copied the example regarding xlswrite(). But I got the following error . Please advise how I could solve it.
Thanks Jessica
xlswrite('testdata.xls', [12.7, 5.02, -98, 63.9, 0, -.2, 56])
Error using xlswrite (line 220)
Excel returned: Undefined function 'Select' for input arguments of type 'Interface.Microsoft_Excel_12.0_Object_Library.Range'..

採用された回答

Thulasi Durai Durai Samy
Thulasi Durai Durai Samy 2012 年 7 月 6 日
The command actually accepts in the form which you have written, may be check testdata.xls already open or check excel server which matlab invokes it

その他の回答 (0 件)

カテゴリ

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