license function can't list Computer Vision Toolbox™?

7 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Introduction 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