How can I obtain a feature name or product name within MATLAB?

11 views (last 30 days)
I need to obtain the Feature Name or the Product Name of a toolbox in MATLAB, how can I do that?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 23 Apr 2025
Edited: MathWorks Support Team on 23 Apr 2025
MathWorks' license files contain both a “Product Name” and a “Feature Name" for each of our Products. The product name is the common name of a Toolbox or Product as displayed by running the command ver in the MATLAB Command Window. You may need to use the Feature Name of a product or toolbox in various MATLAB commands, such as testing a license as provided in our Answer below:
How do I run a license checkout of a Toolbox?
To obtain the Feature Name in MATLAB, run the following command in the Command Window:
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:

More Answers (0)

Categories

Find more on Manage Products 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!