How do I install Statistics and Machine Learning Toolbox into an existing installation of MATLAB?

96 vues (au cours des 30 derniers jours)
I have called one function in which random is used but an error comes up 'random' requires Statistics and Machine Learning Toolbox. I click on this link and it asks to install it. I click on it and I see this window "Your administrator has restricted your download access to this MathWorks product".
  3 commentaires
Mudit Chaturvedi
Mudit Chaturvedi le 19 Juil 2021
Modifié(e) : Mudit Chaturvedi le 19 Juil 2021
Hello!
I understand you are trying to install Statistics and Machine Learning Toolbox into your existing installation of MATLAB.
You might be seeing this error while using Add-On Manager. As a workaround, please try the instructions given in this MATLAB Answers link : How do I install additional toolboxes into an existing installation of MATLAB? - MATLAB Answers - MATLAB Central (mathworks.com) ,which suggests using MATLAB installer (instead of Add-On Manager). In the event that these instructions don't work, you might have to get in touch with your license administrator for resolution.

Connectez-vous pour commenter.

Réponses (3)

Steven Lord
Steven Lord le 19 Juil 2021
I recommend contacting your license administrator (probably someone in your school or company's IT department) and asking them for permission to download, install, and use Statistics and Machine Learning Toolbox.
Depending on how the code you're calling uses the random function (what distribution you're using) you may be able to modify the code to use rand (continuous uniform distribution), randi (discrete uniform distribution), or randn (normal distribution) instead.

Walter Roberson
Walter Roberson le 19 Juil 2021
"Your administrator has restricted your download access to this MathWorks product".
You would have to get your administrator to install the toolbox.

GBear Han
GBear Han le 3 Déc 2021
"Your administrator has restricted your download access to this MathWorks product".
how did u solve this problem?
thank u~
  1 commentaire
Walter Roberson
Walter Roberson le 3 Déc 2021
You find out who your license administrator is, and you ask them to make MATLAB available to you.
I seem to remember that your MATLAB Central account would tell you who your license administrator is, but if not then Mathworks Support can tell you.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by