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.2.zip
.
File metadata
- Download URL: matlab_kernel-0.6.2.zip
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc1bfe831c3cd44651649c3b0f604cdff11eec508f584da4ac218b0c1c06e144 |
|
MD5 | fb69b9dc818006ff03a4e8793551393f |
|
BLAKE2b-256 | d58a88d9973e2ba87f943fba84e16c7dfa176c2b73b0944de13f86fef4103fac |
Provenance
File details
Details for the file matlab_kernel-0.6.2.tar.gz
.
File metadata
- Download URL: matlab_kernel-0.6.2.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 088f4e2c547dfd74a5d7cc74c8257a17af867698455cadf294ffd443b1f23e0b |
|
MD5 | 06ead45eb95eff72cd498a2502e9e257 |
|
BLAKE2b-256 | 9b6f0b1cc1fa99b79ee9327641ed6e0af6c63a5a94a4efdaa0a969f79d0d50ec |