A Matlab kernel for Jupyter/IPython
Project description
A Jupyter/IPython kernel for Matlab
This requires IPython 3 and pymatbridge.
To test it, install via pip or setup.py, then:
ipython qtconsole --kernel=matlab_kernel
Or select the Matlab Kernel in the IPython Notebook.
This is based on 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
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.
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 Distributions
File details
Details for the file matlab_kernel-0.6.5.zip
.
File metadata
- Download URL: matlab_kernel-0.6.5.zip
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68776464cd08da0b103f20173711bc4c4e549acfa5b03f1d621752375c1d0214 |
|
MD5 | 5948de5e72398d259f5c7283741bfa79 |
|
BLAKE2b-256 | d20d590918c93a32ef1553c19dd81cc479ead06186aab9fdb0fa40b2b5483974 |
Provenance
File details
Details for the file matlab_kernel-0.6.5.tar.gz
.
File metadata
- Download URL: matlab_kernel-0.6.5.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a51749845585cdd2ff32303a02c4f07c26e50e9d832ddfdc0c2115be93ef1109 |
|
MD5 | 4e7f5e60075168e895b41737c44d7274 |
|
BLAKE2b-256 | 1517e197da1f5d075e64e12cd1cba977709da9b01dd78e0c3744fb5adae34cf4 |