I am BRAND NEW to matlab (as in minutes ago) because I need to use it to open some files that I have (it is the only program that can). Apparently the multibandread function can do this, but I'm getting errors, so I was hoping someone could help.
I navigated to the folder (on an external drive) with the files in it. Then I typed:
X = multibandread(myfile,[rows cols bands],'float',0,'bsq','ieee-be');
with all of the correct values inputted, and the full filename in the 'filename' argument. I got the error:
??? Error using ==> multibandread>parseInputs at 319
Unable to open myfile for reading.
Error in ==> multibandread at 112
info = parseInputs(filename, dims,...
Why can't multibandread open the file? Do I need to do something first? Any help and/or matlab education would be MUCH appreciated

 採用された回答

Image Analyst
Image Analyst 2013 年 7 月 14 日

1 投票

You need to put a filename string into myfile
myfile = 'c:\images\yourimagename.hdr'; % or whatever.

3 件のコメント

Cam
Cam 2013 年 7 月 14 日
Ohh! Thanks so much!
Somnath paramanik
Somnath paramanik 2016 年 11 月 3 日
but till now same error is coming. plz help
Image Analyst
Image Analyst 2016 年 11 月 3 日
Somnath, read this link and then expand on your question in a new thread.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeStartup and Shutdown についてさらに検索

質問済み:

Cam
2013 年 7 月 14 日

コメント済み:

2016 年 11 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by