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

Uploaded Source

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

Uploaded Source

File details

Details for the file matlab_kernel-0.6.1.zip.

File metadata

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

File hashes

Hashes for matlab_kernel-0.6.1.zip
Algorithm Hash digest
SHA256 300f0c864e143a7ddc0c07ad8caadc56ec122fde380f3f9fa88f94b445f39f11
MD5 c49c5b259320a18e02ab035a1fef487d
BLAKE2b-256 d27f6d2ac2f5e3c476663f6cda7e34a59e8a1b953b4fab3ffc6a9023c3bc3f9a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for matlab_kernel-0.6.1.tar.gz
Algorithm Hash digest
SHA256 12ab25536bf52954b7022df164502f26603f9e3d36f63c9e5076a054bc10cee8
MD5 630eb4a65514b58df52705ea0b4e6acd
BLAKE2b-256 9664856e7b23184126dbd19aecfe380c0ae31e5209f903386c60cb974d89edcb

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