The listings package is a great tool to typeset source code beautifully and according to one’s personal taste due to a range of customizable settings. Among the many languages supported off the shelf is MATLAB and its free software sibling GNU Octave. Unfortunately the latest version 1.4 of the listings package dates back to February 2007 which might be the reason why block comments for MATLAB and Octave are not supported by default.