LaTeX templates — MATLAB
Recent
![Highlighting MATLAB Code in LaTeX with mcode](https://writelatex.s3.amazonaws.com/published_ver/617.jpeg?X-Amz-Expires=14400&X-Amz-Date=20250218T221615Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20250218/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=be3ab8b3d3a2de06cd02de7151cfc7ebb1db690688cc4875ad95e1506892414e)
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.
![Assignment that also uses matlab](https://writelatex.s3.amazonaws.com/published_ver/3743.jpeg?X-Amz-Expires=14400&X-Amz-Date=20250218T221615Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20250218/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=5daa039038b997a61bd97006f111a49f5f58277b4d9e53f4be4f20fdf92dc184)
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.