MIssing actxserver function for xlswrite?

2 visualizaciones (últimos 30 días)
sas0701
sas0701 el 26 de Abr. de 2013
Respondida: Kristian Vepsäläinen el 7 de Ag. de 2014
Hi, I just tried xlswrite and it looks like I am missing actxserver in both R2013(mac) and R2007b(windows). Not sure why but if I try
Warning: Could not start Excel server for export.
XLSWRITE will attempt to write file in CSV format.
> In xlswrite at 175
>> Excel = actxserver('Excel.Application');
Undefined function 'actxserver' for input arguments of type 'char'.
Any ideas?
  1 comentario
Leah
Leah el 26 de Abr. de 2013
Editada: Leah el 26 de Abr. de 2013
do you get a file location back from this?
which actxserver
mine is in matlabroot\toolbox\matlab\winfun\actxserver.m

Iniciar sesión para comentar.

Respuesta aceptada

Walter Roberson
Walter Roberson el 26 de Abr. de 2013
Editada: Walter Roberson el 26 de Abr. de 2013
activex cannot be used on OS-X or Linux as those operating systems do not support ActiveX. It should be present on MS Windows; but if you do not have Excel installed on your MS Windows machine then it would revert to Basic mode.

Más respuestas (1)

Kristian Vepsäläinen
Kristian Vepsäläinen el 7 de Ag. de 2014
I have sama error: Undefined function 'actxserver' for input arguments of type 'char'.
I use iMac (late 2009) and OSX 10.9.4. Matlab is 2014a (student) and I try write Excel-files using xlswrite. So, how I can write to Excel?

Categorías

Más información sobre Use COM Objects in MATLAB en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by