Filter löschen
Filter löschen

license function can't list Computer Vision Toolbox™?

12 Ansichten (letzte 30 Tage)
cui,xingxing
cui,xingxing vor etwa 5 Stunden
Bearbeitet: cui,xingxing vor etwa 5 Stunden
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.

Antworten (0)

Produkte


Version

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by