Skip to main content

No project description provided

Project description

A Matlab kernel for Jupyter

Prerequisites: Install `Jupyter Notebook <>`_ and the
`Matlab engine for Python <>`_.

To install::

$ pip install matlab_kernel
# or `pip install git+`
# for the devel version.

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

To remove from kernel listings::

$ jupyter kernelspec remove matlab

Additional information::

The Matlab kernel 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.

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.

.. _online:

It has been reported that Matlab version 2016b works fine. However, Matlab 2014b does not work with Python 3.5.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
matlab_kernel-0.15.1-py2.py3-none-any.whl (11.6 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Jun 11, 2018
matlab_kernel-0.15.1.tar.gz (7.2 kB) Copy SHA256 hash SHA256 Source None Jun 11, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page