Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MATLAB code analysis and visualization tools?

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

like image 419
berad Avatar asked Mar 26 '12 00:03

berad


People also ask

Is MATLAB a data visualization tool?

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.

How do you Analyse codes in MATLAB?

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.

What is MATLAB visualization?

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.

Can MATLAB be used for analysis?

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.


2 Answers

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.

like image 144
Ben Voigt Avatar answered Nov 15 '22 18:11

Ben Voigt


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

like image 24
High Performance Mark Avatar answered Nov 15 '22 17:11

High Performance Mark