Sort:  

You understood very well. With Matlab you set formulas only once and then you can also save them in a file