I know there is available in the MATLAB Central File Exchange site the
mcode.sty package, which allows to put MATLAB codes into TeX files.
However, there is also available in LaTeX a package called
listings.sty, which I guess does pretty much the same thing.
What is the difference between them? Are there any advantages or disadvantages?