"Simon12345 " <email@example.com> wrote in message news:firstname.lastname@example.org... > 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.