com.mathworks.product.util.ProductIdentifier.get("<Product Name>").getFlexName
replacing <Product Name> with the product you are looking to get the feature name for, as displayed in the command ver.
For example, to obtain the Feature Name of MATLAB Parallel Server:
This can also work in reverse as well by removing “.getFlexName” and typing in the Feature Name in place of the <Product Name>:
com.mathworks.product.util.ProductIdentifier.get("<Feature Name>")
For example, to obtain the Product Name of MATLAB Parallel Server: