Help with root folder/fullfule...

Hi all. I am new to Matlab--I really only need to use it to run this one toolbox that will control the luminance of images. I have followed instructions to load the toolbox, but when I try to run it to edit the images, I get this error:
Error using SHINE (line 245) No images found. Please check pathnames and file format.
The manual for the toolbox says, to troubleshoot this, I should type "matlabroot" to double check locations/the root folder. I get this:
/Users/*mynamehere*/Documents/MATLAB/work/MATLAB_R2016a.app
In the toolbox program, here is the root that it specifies:
fullfile(matlabroot,'work','SHINEtoolbox','SHINE_INPUT');
I think the problem is that the matlabroot paths are not matching up, however, I do not know how to fix the problem. Any help/advice is greatly appreciated!!!
Note: the toolbox I need (SHINE folder) is in the work folder, which is in the MATLAB folder. The Matlab application itself is in the work folder as well.

回答 (1 件)

Guillaume
Guillaume 2016 年 9 月 5 日

0 投票

Your matlabroot looks unusual to me. It normally is something like C:\Program Files\MATLAB\R2016a.
No matter, if your matlabroot is indeed /Users/*mynamehere*/Documents/MATLAB/work/MATLAB_R2016a.app, then your toolbox is looking for images in /Users/*mynamehere*/Documents/MATLAB/work/MATLAB_R2016a.app/work/SHINEtoolbox/SHINE_INPUT. Make sure that you put your images there (and that they're the correct format.

カテゴリ

タグ

質問済み:

2016 年 9 月 5 日

回答済み:

2016 年 9 月 5 日

Community Treasure Hunt

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

Start Hunting!

Translated by