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:
Matlab to Excel 2007

Subject: Matlab to Excel 2007

From: Jay

Date: 1 Nov, 2007 15:10:45

Message: 1 of 2

I would like to export a cell array containing more than
256 rows from MATLAB 7.1 to Microsoft Excel 2007. Using
xlswrite I get the following error:

??? Error using ==> xlswrite
Error: Object returned error code: 0x800A03EC

Excel 2007 worksheets can contain more than 256 columns so
the size of the array shouldn’t be a problem. Perhaps the
issue is related to the new *.xlsx extension that Excel
2007 uses or a COM connection not compatible with xlswrite?
That said, I’m fairly new to the MATLAB community and I’m
not sure where to begin to troubleshoot these issues.

Any ideas/solutions would be much appreciated,
Jay

Subject: Matlab to Excel 2007

From: Yair Altman

Date: 1 Nov, 2007 16:29:54

Message: 2 of 2

"Jay " <jay.nospam@mathworks.com> wrote in message
<fgcq9l$rp6$1@fred.mathworks.com>...
> I would like to export a cell array containing more than
> 256 rows from MATLAB 7.1 to Microsoft Excel 2007. Using
> xlswrite I get the following error:
>
> ??? Error using ==> xlswrite
> Error: Object returned error code: 0x800A03EC
>
> Excel 2007 worksheets can contain more than 256 columns so
> the size of the array shouldn’t be a problem. Perhaps the
> issue is related to the new *.xlsx extension that Excel
> 2007 uses or a COM connection not compatible with xlswrite?
> That said, I’m fairly new to the MATLAB community and I’m
> not sure where to begin to troubleshoot these issues.
>
> Any ideas/solutions would be much appreciated,
> Jay

This is an error returned to Matlab from your Excel. Try
using OfficeDoc, which uses a slightly different way to save
Matlab data in Excel:
http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=15192

Yair Altman
http://ymasoftware.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