MATLAB: How to read .grd file

.grdraster data

I want to read .grd file.I used grdread2,arcgridread,grdinfo2,but this all functions are throwing error of undefined function.I also used ncread but it is throwing error which is Error using netcdflib Unable to open file. File may be corrupt or filename may have invalid characters.

Best Answer

Try this file exchange function: https://in.mathworks.com/matlabcentral/fileexchange/25683-grdread2. I suspect your .grd file is an ascii file. If not working attch your file.