MATLAB Answers

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

3 views (last 30 days)
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'..

  0 Comments

Sign in to comment.

Accepted Answer

Thulasi Durai Durai Samy
Thulasi Durai Durai Samy on 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

  0 Comments

Sign in to comment.

More Answers (0)

Sign in to answer this question.


Translated by