Matlab licenses are expensive. In order to allow more people to run your code, porting it to Python is a good alternative, with Numpy and Scipy coming into the scene.
I chanced upon this :
SMOP (Small Matlab and Octave to Python compiler) https://github.com/victorlei/smop
It does a pretty decent job of translating my matlab code to Python. Don’t think the Python code runs right away though. It’s a practical way of seeing the differences between Matlab and Python, syntax-wise. At the very least, it gives you a really good starting point for porting your Matlab code.