Matlab dependency graph

Matlab can generate dependency graphs and export to GraphML files. The GUI dependency analyzer also shows missing variable and function definitions for the whole project in one view. The implicit static analysis of the dependency analyzer seems to be more thorough than the command requiredFilesAndProducts.

Even if you don’t typically use the Matlab “Project” feature, it’s useful for quality assurance to run this tool on Matlab code to find hidden problems that escape the imperfect nature of unit tests. Regardless of coding language, we use a layered approach for code quality assurance including static analysis, unit tests and integration tests.