MATLAB: Function that calls another function in LiveScript

livescriptMATLAB

In Livescript, can one write a function that calls another function both defined in the same script?

Best Answer

Yes, provided that you are using a MATLAB release new enough to support functions in Live Scripts (which you are.)
Note that the name of the functions must be different than each other, and that neither one can be the same as the name of the live script.
I include an example.