image thumbnail


version (4.36 KB) by Giuliano Langella
Import Arc/Info AsciiRaster


Updated 27 Sep 2012

View License

This function imports Arc-Info ASCII Raster (e.g. *.asc, *.txt) files. You are allowed to import single or multiple files by multi-selection (CRTL + Mouse_Left_Click). In the latter case by default a structure array is created in order to store the several rasters; items of the structure array are called as the imported raster. A facultative option is now added to create a stack of double 3-D array instead of a structure array in case more grid files are selected. This might be useful to handle for instance multi-temporal remote sensing datasets (such as NDVI), or multiple realizations of Geostatistical Simulation. The dimension of the stack you can create depends on your computer hardware.

Cite As

Giuliano Langella (2021). ImportAsciiRaster (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!