Metadata-Version: 1.2
Name: matlab_kernel
Version: 0.9.5
Summary: A Matlab kernel for Jupyter
Home-page: https://github.com/calysto/matlab_kernel
License: UNKNOWN
Author: Steven Silvester
Author-email: steven.silvester@ieee.org
Classifier: Framework :: IPython
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: System :: Shells
Requires-Dist: metakernel (>=0.10.5)
Requires-Dist: pymatbridge

A Jupyter/IPython kernel for Matlab


This requires `Jupyter Notebook <http://jupyter.readthedocs.org/en/latest/install.html>`_, and `pymatbridge <http://pypi.python.org/pypi/pymatbridge>`_.

To install::

    pip install matlab_kernel
    python -m matlab_kernel.install

To use it, run one of:

.. code:: shell

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

This is based on `MetaKernel <http://pypi.python.org/pypi/metakernel>`_,
which means it features a standard set of magics.

A sample notebook is available online_.

You can specify the path to your matlab executable by creating a `MATLAB_EXECUTABLE` environmental variable::

   MATLAB_EXECUTABLE=/usr/bin/matlab
   ipython notebook --kernel=matlab_kernel

For example, on OSX, you could add something like the following to ~/.bash_profile::

   export MATLAB_EXECUTABLE=/Applications/MATLAB_2015b.app/bin/matlab

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.

.. _online: http://nbviewer.ipython.org/github/Calysto/matlab_kernel/blob/master/matlab_kernel.ipynb

