So when you save more and more matlab plotting scripts you starat to lose track of them. You thought you have a script that can generate a plot but just can’t find it.
I decide to use Jupyter notebook to store my plotting scripts as you can see the plots immediately when you open the script. These plots can be saved and stored online as
gist, so I can browse them whereever I want. Let’s see how it goes.
First step is to install Matlab kernel in Jupyter. Here is how
- Install Anaconda
- Have a Matlab installed (>=2014b)
- Install Matlab Python engine
cd "matlabroot\extern\engines\python" python setup.py install
- In Anaconda prompt (run as admin)
pip install metakernel
pip install matlab_kernel
pip install pymatbridge
- Then in Jupyter notebook, you can create new as “Matlab” example