How to add .bash_profile in Windows to run Matlab-based IPython notebooks

I’m looking at this tutorial to run matlab code in IPython notebook:
http://anneurai.net/2015/11/12/matlab-based-ipython-notebooks/.

but I am stuck at step3:
I edited the .bash_profile file located at “C:\Users\myUserName.bash_profile” by
adding the following line

export MATLAB_EXECUTABLE="/c/Program\ Files/MATLAB/R2014a/bin/matlab.exe"

How can I check if the line I added is correct?
Now I do not know how to proceed:which is the terminal?
Can I start jupyter directly via the icon?

Answer

It seems that it is not possible to use Matlab kernel in IPython notebook in Windows. See this post:
https://github.com/arokem/python-matlab-bridge/issues/226

You need to first make sure that pymatbridge works fine but as it mentioned in the above link, it is different from one computer to the other.

Attribution
Source : Link , Question Author : andrew , Answer Author : Soroosh Shafiee

Leave a Comment