Unable to use an installed, licensed and enabled toolbox (Statistics and Machine Learning Toolbox)

16 views (last 30 days)
Hi there, I am new with Matlab and I have a problem using toolboxes.
I installed Matlab with the Statistics and Machine Learning Toolbox with a license from my university (which includes this precise toolbox). Then I want to use the 'lasso' function from the toolbox, when I try it I get :
>> lasso
To use 'lasso', the following product must be licensed, installed, and enabled:
Statistics and Machine Learning Toolbox
The problem can't come from license because I have just installed it with the license of my school. So I checked that it was installed :
>> matlab.addons.installedAddons
ans =
19×3 table
Name Version Identifier
_________________________________________ _______ __________
"Model Predictive Control Toolbox" "6.0" "MP"
"MATLAB Compiler" "6.5" "CO"
"DSP System Toolbox" "9.5" "DS"
"Curve Fitting Toolbox" "3.5.6" "CF"
"Partial Differential Equation Toolbox" "2.5" "PD"
"Neural Network Toolbox" "11.0" "NN"
"Optimization Toolbox" "8.0" "OP"
"Simulink Control Design" "5.0" "SD"
"Signal Processing Toolbox" "7.5" "SG"
"Simulink" "9.0" "SL"
"Symbolic Math Toolbox" "8.0" "SM"
"Statistics and Machine Learning Toolbox" "11.2" "ST"
"Parallel Computing Toolbox" "6.11" "DM"
"Mapping Toolbox" "4.5.1" "MG"
"MATLAB Compiler SDK" "6.4" "MJ"
"Global Optimization Toolbox" "3.4.3" "GD"
"Image Processing Toolbox" "10.1" "IP"
"Control System Toolbox" "10.3" "CT"
"Communications System Toolbox" "6.5" "CM"
As hoped it is in the list. Finally I checked that it is well enabled :
>> matlab.addons.isAddonEnabled('ST')
ans =
logical
1
So it appears that it is well licensed, installed and enabled but I still get the error cited above... I found this subject https://www.mathworks.com/matlabcentral/answers/387273-not-able-to-use-installed-matlab-toolbox-image-processing with a similar problem but the resolution didn't help (even if I did reinstall)...
Sorry for the errors, I am a non-native English speaker :).

Answers (0)

Categories

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

Community Treasure Hunt

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

Start Hunting!