The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: xlsread error (mac): "unexpected record length"
Replies: 3   Last Post: Apr 24, 2013 12:50 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 108
Registered: 7/2/10
Re: xlsread error (mac): "unexpected record length"
Posted: Apr 24, 2013 12:50 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply wrote in message <>...
> Did you ever find a solution? I am having the same problem, one file it works for and an essentially identical file (from the same template, saved with slightly different numbers on a different date).
> Joel K
> On Saturday, November 15, 2008 2:55:05 PM UTC-8, Eric wrote:

> > Hi there.
> > I recently just switched to a Mac and am encountering some new problems. xlsread is giving me the error:
> > "File contains unexpected record length. Try saving as Excel 98."

What version of Matlab and excel are you using on Mac? Any relevant code that produces this error.

Many things have changed since 2008/2009. The most recent Matlab version with Office 2011 for Mac seem to give reproducible results as long as the excel file is saved as xlsx or xlsm extension.

Way back when, on a PC, I got some weird results with xlsread due to an excel add on my company pushed on a new computer. So, if you have any macros or add ons in your excel files, this may throw Matlab off.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.