How to document object-oriented MATLAB code?
        Posted  
        
            by jjkparker
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by jjkparker
        
        
        
        Published on 2010-03-10T14:23:32Z
        Indexed on 
            2010/03/27
            2:33 UTC
        
        
        Read the original article
        Hit count: 360
        
I'm writing a sizable application using object-oriented MATLAB, and this has gotten me thinking about how to document the code. If this was C, I would use Doxygen. For Java, I'd use JavaDoc. Both have mostly agreed-upon standards for how class and method documentation should look and what it should contain.
But what about MATLAB code? The most I've seen in TMW's own classes is a short sentence or two at the top of the class, and I can't find any topics devoted to documenting sizable MATLAB applications.
So how do you document your MATLAB classes? Any particular style issues or additional tools?
© Stack Overflow or respective owner