Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

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

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

Topic: xlsread
Replies: 6   Last Post: Apr 11, 2011 1:57 PM

Advanced Search

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

Posts: 61
Registered: 11/6/06
Re: xlsread
Posted: Apr 11, 2011 11:58 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On Apr 11, 11:42 am, "Alex Harrison"
<dingbatsgrowontr...@hotmail.co.uk> wrote:
> Hi everyone,
> I'm really confused with the xlsread function. I've been getting the below error with everything I try, so I started from scratch and followed the example on the Matlab help and I'm still getting the same error:
> ??? Attempt to execute SCRIPT xlsread as a function:
> C:\folder\xlsread.m
> Error in ==> xlsread_trial_2 at 1
> A = xlsread('myExample.xls')
> What am I doing wrong? Please can someone put me out of my misery?!!!
> Alex
> p.s. I know I've kind of already asked the same thing on an older post I found (http://www.mathworks.com/matlabcentral/newsreader/view_thread/305448) but as this is not just a problem I'm having with that particular thing I thought starting a new thread made sense

Just to clarify, you are using xlsread as a function in another
"script" .m file called "xlsread_trial_2.m"? And, the first like of
the "xlsread_trial_2.m" file is A = xlsread('myExample.xls')?

If that is the case, I don't see why you would be getting an error,
unless the .xls file is not in the same directory?

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

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2015. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.