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.3.zip (4.9 kB view details)

Uploaded Source

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

Uploaded Source

File details

Details for the file matlab_kernel-0.6.3.zip.

File metadata

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

File hashes

Hashes for matlab_kernel-0.6.3.zip
Algorithm Hash digest
SHA256 855f5fb29d27095ad002e306c6d72ce830a5121a0503908c8e3f80dc583873ad
MD5 99ce8dd98c973c7cd4ae140513d69c10
BLAKE2b-256 ee2b2bd7ea18fb5e8789ecf94a4705fdbbc60cf121b8014f18b2c29cb9902154

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for matlab_kernel-0.6.3.tar.gz
Algorithm Hash digest
SHA256 b9cb8a4c818cb239acbc834bf587506c66f1c9bf0ec434a2787d7e9833d30a17
MD5 6744a9ee031b941eb1b662ba7495ad8a
BLAKE2b-256 aca9b0004dde3d27e163832f1d24769d578ef8fca2212df4d7deb8c6a28096b4

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