Skip to content

Instantly share code, notes, and snippets.

@fedemengo
Last active March 11, 2021 13:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fedemengo/23bb9e7e759fe6ce0b9eea51a3efdd43 to your computer and use it in GitHub Desktop.
Save fedemengo/23bb9e7e759fe6ce0b9eea51a3efdd43 to your computer and use it in GitHub Desktop.
Matlab on Jupyter notebook

Steps

Assuming we are using python3.7

  • Install matlab, assume $HOME/.app/matlab
  • Install Jyputer, assume a notebook in a virtual env env3.7 in $HOME/projects/env3.7
  • cd $HOME/.app/matlab/extern/engines/python
  • python3.7 setup.py install --prefix="$HOME/projects/env3.7"
  • Then cd in your working directory $HOME/projects/
  • Start the notebook with source env3.7/bin/activate && jupyter notebook
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment