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

1 次查看(过去 30 天)
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
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 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by