license function can't list Computer Vision Toolbox™?

7 views (last 30 days)
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.

Accepted Answer

Walter Roberson
Walter Roberson on 27 Jul 2024

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!