mrkrd / matlab_wrapper

Easy to use MATLAB wrapper for Python
GNU General Public License v3.0
78 stars 23 forks source link

'matlab=matlab_wrapper.MatlabSession() 'error #22

Closed shuxp closed 7 years ago

shuxp commented 7 years ago

when I run 'matlab=matlab_wrapper.MatlabSession() ', I got this error: ' RuntimeError: It seem that you are using 64bit version of Python, but there's no matching MATLAB installation in /usr/local/MATLAB/R2015b:/usr/local/MATLAB/R2015b:/bin/glnxa64.' Anyone can help me?thanks.

mrkrd commented 7 years ago

when I run 'matlab=matlab_wrapper.MatlabSession() ', I got this error: ' RuntimeError: It seem that you are using 64bit version of Python, but there's no matching MATLAB installation in /usr/local/MATLAB/R2015b:/usr/local/MATLAB/R2015b:/bin/glnxa64.' Anyone can help me?thanks.

What's the value of MATLABROOT env variable? Is it "/usr/local/MATLAB/R2015b:/usr/local/MATLAB/R2015b:/bin/glnxa64"?

If yes, then you could fix it by setting it to a single directory (Matlab root directory).

Otherwise, please check the docstring of matlab_wrapper.MatlabSession and provide info about your setup: https://github.com/mrkrd/matlab_wrapper/blob/master/CONTRIBUTING.rst#reporting-issues

Cheers, Marek