From: Josefina on
I am attempting to install this toolbox called INface: A Toolbox for Illumination Invariant
Face Recognition.

The instructions are as follows:
“When you are ready to install the toolbox, run Matlab and change your current
working directory to the directory INface tools, or in case you have renamed the
directory, to the directory containing the files of the toolbox. Here, you just type
into Matlabs command prompt: install INface
This will trigger the execution of the the corresponding install script, which
basically just adds all directories of the toolbox to Matlabs search path and
compiles the C code contained in the mex directory. The installation script
will produce so-called MEX (Matlab executable) files, which can be called
from Matlab. The installation script was tested with Matlab version 7.5.0.342
(R2007b) and WindowsXP (SP3) OS.”

My Current Directory is: C:\Program Files (x86)\MATLAB\R2009a Student\toolbox\INface_tool

When I entered the Matlab command prompt I received the following
“EDU>> install_INface
The current directory is invalid.
??? Error using ==> mex at 218
Unable to complete successfully.
Error in ==> install_INface at 31
mex mex/perform_nlmeans_mex.cpp”


I thought I might be having problems with the path, so I added a path to Inface_tool with subfolders. I then received the following error
“The current directory is invalid.
??? Error using ==> mex at 218
Unable to complete successfully.”

I then looked to the Manual installation which reads:
“The installation of the toolbox using the provided script can sometimes fail. There
are two possible reasons I can foresee (this does not imply that there can’t be
others as well):

• you have not run the mex setup yet, or
• there is some difficulty with Matlabs path.

If the installation fails due to the first error, this means that you have not
selected an appropriate compiler for compiling the C code. To resolve this issue
just type: mex -setup
into Matlabs command prompt and select a compiler from the provided
list. Once this is done you can try to run the install script again. The script
should now successfully compile the C code.”

When I did that I received this error message:
“EDU>> mex -setup
The current directory is invalid.
??? Error using ==> mex at 218
Unable to complete successfully.”

*sigh* I am at my wits ends. I am running this on a Student Version Matlab 7.8.0 (R2009a), on Vista.

I had previously been able to run mex -setup, but I still get the same errors and can no longer run mex -setup. Any ideas?

Any help would be greatly appreciated. Thank you.