A Matlab kernel for Jupyter/IPython
Project description
A Jupyter/IPython kernel for Matlab
This requires Jupyter Notebook, and pymatbridge.
Install as pip install matlab_kernel.
Then, you can select the “Matlab” Kernel in the Jupyter 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
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.
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.10.zip
.
File metadata
- Download URL: matlab_kernel-0.6.10.zip
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0939e937aece76676d96e627a165010ee740fcd70cd1d0ac7164f3d8db268119 |
|
MD5 | 7f1bb7ee02a8b4c527e80c272bc16b15 |
|
BLAKE2b-256 | 536360e4c60642d06e5e3c11105c01e5fe756e10ba0a75bdc8d3fd6c658da944 |
Provenance
File details
Details for the file matlab_kernel-0.6.10.tar.gz
.
File metadata
- Download URL: matlab_kernel-0.6.10.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0764fbb29b0d2347e108a0d796361ae4dea4673b26d352b677c6c51e0b7f6017 |
|
MD5 | 8eb8cb88b9b92152aa2dc44725320d80 |
|
BLAKE2b-256 | 7b6de161c4cc80b07a2335efa5859a4a3524c79a7850dcd73d9eb44831c9600b |