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.

Answers (1)

Guillaume
Guillaume on 5 Sep 2016
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.

Tags

Asked:

on 5 Sep 2016

Answered:

on 5 Sep 2016

Community Treasure Hunt

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

Start Hunting!