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: Imread (Index Exceeds Matrix Dimensions)
Replies: 4   Last Post: Sep 24, 2013 11:01 AM

Advanced Search

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

Posts: 18,038
Registered: 12/7/04
Re: Imread (Index Exceeds Matrix Dimensions)
Posted: Sep 16, 2013 11:26 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Simon12345 " <> wrote in message
> Hi,
> something very basic is going wrong here.
> I try to import an image into my workspace with:
> A = imread('roof.jpg');
> I also tried
> roof = imread('roof','jpg');
> And what I get back is:
> Index exceeds matrix dimensions.
> I tried multiple different jpeg's and also png, tiff, jpeg 2000, always
> the same.
> What am I doing wrong?

You have likely defined a variable named imread in your code. You cannot use
the IMREAD function while such a variable exists.

Steve Lord
To contact Technical Support use the Contact Us link on

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.