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

2 views (last 30 days)
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)

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

Categories

Find more on Data Type Conversion in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!