hi , I'm trying to make the matlab box work to show me a graphic interface.I have windows 10 64bit / matlab 2011a 32 bit

1. my matlab.exe path is "A:/Program Files (x86)/MATLAB/R2011a/bin/matlab.exe" and I set "Path to Matlab executables " in the properties of the box to it .

2. my function is in the path "C:\Users\kiyarash\Desktop\project" so I set "Matlab working directory" to it .

my whole scenario is the single matlab box . but when I run it OV gives the error

"[ ERROR ] At time 0.000 sec <Box algorithm::(0x000068b5, 0x00002500) aka Matlab Scripting> First call to the MATLAB engine failed.

To use this box you must have MATLAB (32 bits version) installed on your computer.

[ ERROR ] At time 0.000 sec <Box algorithm::(0x000068b5, 0x00002500) aka Matlab Scripting> Could not open the Matlab engine.

The matlab binary path was reasoned to be 'A:\Program Files (x86)\MATLAB\R2011a\bin\'.

[WARNING] Box algorithm <Matlab Scripting> has been deactivated because initialize() function returned error

"

I have read the "Tutorial – Level 2 – Using Matlab with OpenViBE" at some part it says :

**Quote:**

Compiling the ‘plugins/processing/matlab’ project

A valid installation of MATLAB includes all the libraries and exe required to compile and use the boxes.

To be precise, CMake looks for the following libraries when compiling OpenViBE:

On Windows : libmex.lib, libmx.lib, libeng.lib under ${Matlab_ROOT}/extern/lib/win32/microsoft/

On Linux : mex, mx, eng, under ${Matlab_ROOT}/bin/glnx86 or ${Matlab_ROOT}/bin/glnxa64

so I have checked the "${Matlab_ROOT}/extern/lib/win32/microsoft/" directory and all the three .lib files are there .

but i have not given the box the path to my matlab root wich is "A:/Program Files (x86)/MATLAB/R2011a" only the path to matlab.exe is this the problem ? what am I doing wrong ?