I'm looking for a programmatic way to run a dependency analysis. The analysis would tell me all the toolboxes used by a given project.
The function would be similar to "Tool for analyzing matlab source codes" and the App deployment process checks documented here.
The key difference is that I want to do this using a script and not a GUI. The ultimate objective is to run this as a pre-commit hook to prevent the introduction of new toolbox dependencies into the project.