You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
or pip install git+https://github.com/Calysto/matlab_kernel for the dev version.
To use the kernel, run one of:
$ jupyter notebook
# In the notebook interface, select Matlab from the 'New' menu
$ jupyter qtconsole --kernel matlab
$ jupyter console --kernel matlab
To remove from kernel listings:
$ jupyter kernelspec remove matlab
Configuration
The kernel can be configured by adding an matlab_kernel_config.py file to the
jupyter config path. The MatlabKernel class offers plot_settings as a configurable traits.
The available plot settings are:
'format', 'backend', 'width', 'height', and 'resolution'.
A note about plotting. After each call to Matlab, we ask Matlab to save any
open figures to image files whose format and resolution are defined using the
%plot magic. The resulting image is shown inline in the notebook. You can
use %plot native to raise normal Matlab windows instead.
Advanced Installation Notes
We automatically install a Jupyter kernelspec when installing the python package. This location can be found using jupyter kernelspec list. If the default location is not desired, you can remove the directory for the octave kernel, and install using python -m matlab_kernel install. See python -m matlab_kernel install --help for available options.
It has been reported that Matlab version 2016b works fine. However, Matlab 2014b does not work with Python 3.5.