Determine support packages used by files
List all the installed deployable support packages on the system.
Run the function with no arguments.
spstr = compiler.codetools.deployableSupportPackages
spstr = 4×1 string array "Aerospace Ephemeris Data" "Aerospace Geoid Data" "Communications Toolbox Support Package for RTL-SDR Radio" "MATLAB Support Package for Raspberry Pi Hardware"
List all deployable support packages that are used by the specified file.
Install the support packages required by your MATLAB file. For this example, the Ephemeris Data for Aerospace Toolbox add-on is installed.
Run the function using
planetEphemeris.m, which is located in
spstr = compiler.codetools.deployableSupportPackages(... fullfile(matlabroot,'toolbox','aero','aero','planetEphemeris.m'))
spstr = "Aerospace Ephemeris Data"
Files— List of files
List of files, specified as a character vector, a string scalar, a string array, or
a cell array of character vectors. Each file must be a MATLAB function, class, or app of one of the following types:
.mlapp, or a valid MEX file.
spstr— List of support package names
A list of support package names, specified as a string array.