MATLAB IPython kernel setup - lmmx/devnotes GitHub Wiki

The MATLAB IPython kernel (Calysto) needs IPython setup first (obviously), but also pymatbridge

  • For this I had a virtual environment already set up with Conda, so Python 3 is default Python: pip is pip3
pip install pymatbridge
pip install matlab_kernel

On Linux, I have MATLAB R2013A, installed under /usr/local/MATLAB/R2013a_Student. I needed this in my .bashrc (sourced by .bash_profile) to let IPython know it was installed :

export MATLAB_EXECUTABLE=/usr/local/MATLAB/R2013a_Student/bin/matlab

( I also have export PATH=$PATH:/usr/local/MATLAB/R2013a_Student/bin )

The MATLAB kernel now starts without repeatedly dying and restarting.