I figured out how to run matlab in a jupyter notebook and it is basically the best thing ever. There is even a way to get around the stupid file-for-function matlab construct!