MATLAB
MATLAB is documented on the Alliance wiki: https://docs.alliancecan.ca/wiki/MATLAB
A MATLAB licence is available on Trillium to any student, professor, or academic researcher, so you do not need to tunnel to an external licence server. The Alliance page covers serial and parallel job scripts and the MATLAB Compiler.
For the MCR and compiled-executable workflow, see the Alliance page above.