8

I just picked up a MATLAB codebase that's light on documentation and original developers (who all shot through long ago).

I'm comfortable with MATLAB but could still use some static analysis tools to visualize the program for a quick idea how it works, without acquainting myself with all 148 source files...

I can't find anything like this for MATLAB -- searches return plenty on m-lint results but that's not what I'm looking for, I'm particularly interested in code structure visualization.

Cheers

berad
  • 91
  • 1
  • 4

2 Answers2

4

You can use doxygen plus an appropriate filter, such as UsingDoxygenwithMatlab.

Be sure to set EXTRACT_ALL = YES to get auto-generated documentation for code without comments. There are other parameters for generating call trees and such, not sure if they work with the converted MatLab code.

Ben Voigt
  • 277,958
  • 43
  • 419
  • 720
3

Some of this answer may be useful. And don't forget the publish function.

Community
  • 1
  • 1
High Performance Mark
  • 77,191
  • 7
  • 105
  • 161