I'm, trying to load a hyperspectral image using multibandread, but I am unable to do so. I'm getting the following errors.

2 views (last 30 days)
sushant on 24 Feb 2013
Answered: yanjie qi on 28 Feb 2016
??? Error using ==> multibandread>parseInputs at 316 Unable to open QuAC.bsq for reading.
Error in ==> multibandread at 108 info = parseInputs(filename, dims,...
Error in ==> read_hyperim at 4 I = multibandread('QuAC.bsq',[3191 911 196],'int16','0','bsq','ieee-le',...
Is matlab unable to locate the file to be read? How do I rectify this? Thank you!!

Answers (2)

yanjie qi
yanjie qi on 28 Feb 2016
I met the error was this: ??? Error using ==> fread Invalid file identifier. Use fopen to generate a valid file identifier.
Error in ==> read_ENVIresizefile at 31 info = fread(fid,'char=>char'); have you ever met this before,and can you help me sove it . thanks

Community Treasure Hunt

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

Start Hunting!