Identify all toolbox dependencies

6 views (last 30 days)
David Wilby
David Wilby on 27 Aug 2022
Commented: Image Analyst on 29 Aug 2022
requiredfilesandproducts lists all the installed toolbox dependencies, but not those that aren't installed.
The dependency analyser is capable of detecting required toolboxes that aren't installed, is there a way of doing this programmatically?

Answers (1)

Image Analyst
Image Analyst on 27 Aug 2022
See attached function.
Image Analyst
Image Analyst on 29 Aug 2022
That utility lists all toolboxes and m-files required to run the program. It does not list functions within a toolbox and does not list toolboxes that are uninstalled (not/never installed) or toolboxes that are installed but never utilized by your m-file. To get a list of all installed toolboxes, whether or not they are used by your m-file, you can use ver:
s = ver;
allInstalledToolboxes = {s.Name}'

Sign in to comment.


Find more on Introduction to Installation and Licensing in Help Center and File Exchange




Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by