Matlab license toolbox names

Matlab has numerous factory toolboxes that are referred to in two distinct ways: “Product Names” and “Feature Names”. The “Product Name” is the official plain English name of the toolbox, while the “Feature Name” is a more specific identifier used within Matlab. For example, “MATLAB Test” is the Product Name, and “MATLAB_Test” is also the Feature Name. The mapping between names is not always just by replacement of spaces with underscores. To programmatically access the list of toolboxes Product Names, use the ver command in Matlab, which returns a structure array containing both the Product Names. Then extract the Feature Names from the structure.

versions = ver();
productNames = string({versions.Name});

for i = 1:numel(productNames)
  featureNames(i) = string(com.mathworks.product.util.ProductIdentifier.get(productNames(i)).getFlexName());
end