Tricks while Using Matlab
Using Matlab in Jupyter Notebook
Jupyter notebook can combine text and code. When you are study new things and take notes, it could be really helpful. The steps are:
- Make sure you have Anacoda and Matlab installed. Python is added to the PATH.(Python can be called from the command window.)
- Install Matlab python engine
- Install metakernel, matlab_kernel, and pymatbridge. For instance, open Anaconda prompt and run
pip install metakernel
Now you can open Jupyter notebook and see Matlab as a language!
Matlab path at startup
If you want to add/remove your personal folder from matlab path, use
edit pathdef.m