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

85 views (last 30 days)
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 Comments
Mudit Chaturvedi
Mudit Chaturvedi on 19 Jul 2021
Edited: Mudit Chaturvedi on 19 Jul 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.

Sign in to comment.

Answers (3)

Steven Lord
Steven Lord on 19 Jul 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 on 19 Jul 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 on 3 Dec 2021
"Your administrator has restricted your download access to this MathWorks product".
how did u solve this problem?
thank u~
  1 Comment
Walter Roberson
Walter Roberson on 3 Dec 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.

Sign in to comment.

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!