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
MATLAB® enables you to analyze and visualize your data in a fraction of the time it would take using spreadsheets or traditional programming languages. It provides a variety of tools that make it simple to import, visualize, process, and analyze your data.
In MATLAB, select the Home tab and then click Preferences. In the Preferences dialog box, select Code Analyzer. In the MATLAB Code Analyzer Preferences pane, verify that Enable integrated warning and error messages is selected.
Visualize data from a ThingSpeak™ channel using MATLAB® functions and toolboxes listed in Access MATLAB Add-On Toolboxes. You can view and explore data using interactive or static visualizations. You can also make the visualizations public and use the URL to embed them on websites.
Engineers and scientists use MATLAB® to organize, clean, and analyze complex data sets from diverse fields such as climatology, predictive maintenance, medical research, and finance. MATLAB provides: Datatypes and preprocessing capabilities designed for engineering and scientific data.
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.
Some of this answer may be useful. And don't forget the publish
function.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With