I'm working on a scientific application which is now over 10 years in development by multiple people.
Recently, we found out that our application requires multiple toolboxes, which are not part of the default MATLAB installation. Since we are developing it with a University license, we have access to all toolboxes and therefore we never noticed this so far. However, we want to reduce the number of toolboxes to a minimum to make it easier and cheaper for other groups to use our software.
when I run
[fList,pList] = matlab.codetools.requiredFilesAndProducts('myFile.m')
pList list a couple of toolboxes like:
NAME Version id Certain
'MATLAB' '9.4' 1 true
'Robust Control Toolbox' '6.4.1' 5 true
'Mapping Toolbox' '4.6' 11 true
'Financial Toolbox' '5.11' 30 true
'Aerospace Toolbox' '2.21' 108 true
'Parallel Computing Toolbox' '6.12' 80 false
'MATLAB Distributed Computing Server' '6.12' 94 false
I'm sure that at least 'Finacial Toolbox' and 'Aerospace Toolbox' are not really required and we only use it through copy-pasting of online solutions into our software without thinking.
For example, we are using a function called degrees2dms which is part of a toolbox and simply converts decimal degrees into degrees, minutes and seconds. This could easily be implemented by our self without the use of additional toolboxes.
My question is now the following:
I know which toolboxes are used from matlab.codetools.requiredFilesAndProducts. How can I find out which functions from these toolboxes are used to replace those functions with our own code.