Skip to content

Installing MATLAB Kernel with WinPython

Royi edited this page Mar 21, 2018 · 4 revisions

Installation

This page describes how to install MATLAB Kernel on WinPython. It is assumed that MATLAB is installed.

  1. Install WinPython to a folder of choice (Will be named %WinPythonFolder).
  2. Run the WinPython Command Prompt under "%WinPythonFolder\WinPython Command Prompt.exe".
  3. Build the MATLAB Python Engine. Because of privileges (Unless the Command Line is launched using Administrator Privileges) one might want to Install MATLAB Engine API for Python in Non Default Locations. In order to do so, run the command python setup.py build --build-base="%WinPythonFolder\MATLABPythonEngine" install.
  4. Run the Command python -m matlab_kernel install.
  5. Launch Jupyter Notebook using Jupyter Notebook.exe" in %WinPythonFolder.
  6. Choose MATLAB from the Kernel Menu.

Known Issues

  1. MATLAB Kernel is installed in C:\ProgramData\jupyter\kernels\matlab. How could one put it under %WinPythonFolder and still make it work?
Clone this wiki locally