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

I need to obtain the Feature Name or the Product Name of a toolbox in MATLAB, how can I do that?

 채택된 답변

MathWorks Support Team
MathWorks Support Team 2025년 4월 23일
편집: MathWorks Support Team 2025년 4월 23일
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:

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Manage Products에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by