Introduction - If you have any usage issues, please Google them yourself
I = ENVIREAD(FILENAME) Reads an ENVI binary file into an array using the information the corresponding header file FILENAME.hdr. The output structure I contains fields I.x, I.y, I.z and I.info containing the x-coordinate vector, y-coordinate vector, images data and header info, respectively. I.z will be in whatever number format (double, int, etc.) as in the envi file.
I= ENVIREAD(FILENAME,HEADERFILE) Uses the header information in headerfile.