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

1 Ansicht (letzte 30 Tage)
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'..

Akzeptierte Antwort

Thulasi Durai Durai Samy
Thulasi Durai Durai Samy am 6 Jul. 2012
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

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by