license function can't list Computer Vision Toolbox™?

8 ビュー (過去 30 日間)
cui,xingxing
cui,xingxing 2024 年 7 月 27 日
回答済み: Walter Roberson 2024 年 7 月 27 日
When I use license function to check if there is already a Computer Vision Toolbox™ in the MATLAB environment, I don't know how to get what the function input parameter `feature` corresponds to the name of this toolbox? I have tried the following methods and they all return a status of 0, but I am sure that Computer Vision Toolbox is installed and working, how do I find out what the name of the `feature` corresponds to?
license("test","computer_vision_toolbox")
ans = 0
license("test","vision_toolbox")
ans = 0
license("checkout","computer_vision_toolbox")
License checkout failed. License Manager Error -5 Cannot find a license for computer_vision_toolbox. Troubleshoot this issue by visiting: https://www.mathworks.com/support/lme/5 Diagnostic Information: Feature: computer_vision_toolbox License path: 13501@10.168.95.39:13501@10.168.230.75:13501@10.168.191.210:13501@10.168.100.185:/home/matlab/.matlab/R2024a_licenses:/MATLAB/licenses/license.dat:/MATLAB/licenses Licensing error: -5,0.
ans = 0
-------------------------------------------------------------------------------------------------------
Another related question is: How can I check if a specific toolbox is installed in the current environment using MATLAB code?
As far as I know, the ver function can return all installed toolboxes status and then you can search for the name, but the official documentation no longer recommends using the ver function since R2023b. Instead, it suggests using the matlabRelease function, but this function only returns the version number and does not provide the installation status of the toolboxes.

採用された回答

Walter Roberson
Walter Roberson 2024 年 7 月 27 日

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品


リリース

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by