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

5 次查看(过去 30 天)
??? 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!!

回答(2 个)

Walter Roberson
Walter Roberson 2013-2-24
What does
exist('QuAC.bsq')
report?
And how about
ls QuAC.bsq
?

yanjie qi
yanjie qi 2016-2-28
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!

Translated by