Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

matlab_kernel-0.6.zip (4.8 kB view details)

Uploaded Source

matlab_kernel-0.6.tar.gz (3.5 kB view details)

Uploaded Source

File details

Details for the file matlab_kernel-0.6.zip.

File metadata

  • Download URL: matlab_kernel-0.6.zip
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for matlab_kernel-0.6.zip
Algorithm Hash digest
SHA256 390dff4a868dfffb8ad08f5ee128e027f89fcf09778635bb20e0dc667c43969d
MD5 1215961b9def49ca614f4ac5f9c577ed
BLAKE2b-256 0fad056f8a80946fd2c319c7920b5186645090f061c09b5f2b6a7ea4745afb74

See more details on using hashes here.

File details

Details for the file matlab_kernel-0.6.tar.gz.

File metadata

  • Download URL: matlab_kernel-0.6.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for matlab_kernel-0.6.tar.gz
Algorithm Hash digest
SHA256 079196cbdc2a0a38403289befb829baed6ffd9b4916f93e3f9cc5db47a78c075
MD5 9ea9b43f280959d9311e0b4162daea72
BLAKE2b-256 c3ebd85db3bae962945dbe41f8c16154e335a37e1902ec487015397015f6d9cc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page