path='F:\多光谱材料\2\2.hdr';>> fnm='2.hdr';>> I=enviread(path,fnm);??? Error using ==> fgetl at 44Invalid file identifier. Use fopen to generate a valid file identifier.Error in ==> enviread>read_envihdr at 190 line = fgetl(fid);Error in ==> enviread at 16info=read_envihdr(hdrfile);
MATLAB: What is different between fget1 and fread
enviread error with fget1
Best Answer