Recent
![Assignment that also uses matlab](https://writelatex.s3.amazonaws.com/published_ver/3743.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240630T121918Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240630/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=40650bea2b1f30dd1540bb90101236f90441389f08acd49a2606e476654eb6f1)
Assignment that also uses matlab
This is example for an assignment that uses both matlab code and images
iain
![Highlighting MATLAB Code in LaTeX with mcode](https://writelatex.s3.amazonaws.com/published_ver/617.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240630T121918Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240630/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=5f9d79f4ec5c9c3c9943ed1581cd8bfc75ec3ca5e03516ee27b1a3d7734a452e)
Highlighting MATLAB Code in LaTeX with mcode
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.
Florian Knorn