Recent
![Assignment that also uses matlab](https://writelatex.s3.amazonaws.com/published_ver/3743.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240630T121651Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240630/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=004849483ba90e042cb7d1aeef64406dd178734a964686c4a09aa44ce9886f3c)
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=20240630T121651Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240630/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=1564188980525c1951806ef552febab61dba2cd16eb4a20af4fe195ee92634c4)
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