Date: Sep 16, 2013 6:30 AM
Author: Simon12345
Subject: Imread (Index Exceeds Matrix Dimensions)


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?