No project description provided
Project description
A Matlab kernel for Jupyter
===========================
Prerequisites: Install `Jupyter Notebook <http://jupyter.readthedocs.org/en/latest/install.html>`_ and the
`Matlab engine for Python <https://www.mathworks.com/help/matlab/matlab-engine-for-python.html>`_.
To install::
$ pip install matlab_kernel
# or `pip install git+https://github.com/Calysto/matlab_kernel`
# 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 <http://pypi.python.org/pypi/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: http://nbviewer.ipython.org/github/Calysto/matlab_kernel/blob/master/matlab_kernel.ipynb
It has been reported that Matlab version 2016b works fine. However, Matlab 2014b does not work with Python 3.5.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
matlab_kernel-0.15.1.tar.gz
(7.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file matlab_kernel-0.15.1.tar.gz.
File metadata
- Download URL: matlab_kernel-0.15.1.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09bef09eac393dbb0a4987a8da01e54c3c077af146552c1d00564f33680d72b1
|
|
| MD5 |
c44403c80d3f22f815b45e5316bce8b9
|
|
| BLAKE2b-256 |
0782a3f62f9655b8d68441b4674e49fefeca88c675c10e73b7257ac9940b0d0b
|
File details
Details for the file matlab_kernel-0.15.1-py2.py3-none-any.whl.
File metadata
- Download URL: matlab_kernel-0.15.1-py2.py3-none-any.whl
- Upload date:
- Size: 11.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1996ee94e6a7d196045fb6918b1e4edf6142e78d3e2f15aa1da294ab80a8a94c
|
|
| MD5 |
3720508987257c46e6130493d6ea215c
|
|
| BLAKE2b-256 |
bb81384b844d9ee23655f827adfff8331a25a6e6d5771e4c807c8aba766c3e3e
|