Rasterread Out of range or non-integer values truncated during conversion to character

Hello,
I am trying to read in a very large raster file into matlab using the rasterread function.
When I try I get the following:
Warning: Out of range or non-integer values truncated during conversion to character.
> In rasterread at 75
(line 75 of rasterread)
dem(dem==header.nodata) = NaN;
I am not sure what is going on? If someone could possibly help me to understand what the problem as it stands no could be, I would be very grateful.
Thank you

Answers (1)

I can't find any documentation for a function called rasterread. Can you simply read in the file using load or import?

Asked:

on 30 May 2014

Answered:

on 30 May 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!