LaTeX templates — MATLAB
Recent

The mcode package configures the listings package to highlight MATLAB code in LaTeX. Inline, block and file listings are supported. This template includes a version of mcode.sty from the MATLAB file exchange, last updated 6 Mar 2014.

This is example for an assignment that uses both matlab code and images
\begin
Discover why 18 million people worldwide trust Overleaf with their work.