Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
excel COM server

Subject: excel COM server

From: ching l

Date: 19 Nov, 2009 22:38:19

Message: 1 of 2

Hello there

The xlswrite function works fine when I run on a PC, but when I use the same function in Mac, I had this error- "Could not start Excel server for export"

Could anyone tell me how should I solve this problem?

Thanks.

Subject: excel COM server

From: Yair Altman

Date: 20 Nov, 2009 09:45:11

Message: 2 of 2

"ching l" <chinglnc@hotmail.com> wrote in message <he4hcr$39h$1@fred.mathworks.com>...
> Hello there
>
> The xlswrite function works fine when I run on a PC, but when I use the same function in Mac, I had this error- "Could not start Excel server for export"
>
> Could anyone tell me how should I solve this problem?
>
> Thanks.

xlswrite requires COM to work, and this only works on windows. Instead, use dlmwrite or csvwrite.

Or, if you have some spare time, you can decipher the proprietary Excel binary format and create a function that writes the appropriate binary data...

Yair Altman
http://UndocumentedMatlab.com

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us