8000 GitHub - Calysto/matlab_kernel at db31d261a2e4e89d924f1c4f8becdcd0c788b6fd
[go: up one dir, main page]

Skip to content

Calysto/matlab_kernel

Repository files navigation

Python3x

A Jupyter/IPython kernel for Matlab

This requires Jupyter Notebook with Python 3.4+, and the Matlab engine for Python.

To install:

$ pip install matlab_kernel
# or `pip install git+https://github.com/Calysto/matlab_kernel`
# for the devel version.
$ python -m matlab_kernel install

To use it, run one of:

$ jupyter notebook
# In the notebook interface, select Matlab from the 'New' menu
$ jupyter qtconsole --kernel matlab
$ jupyter console --kernel matlab

This is based on MetaKernel, which means it features a standard set of magics.

A sample notebook is available online.

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.

About

Jupyter Kernel for Matlab

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 14

0