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

96 次查看(过去 30 天)
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 个评论
Mudit Chaturvedi
Mudit Chaturvedi 2021-7-19
编辑:Mudit Chaturvedi 2021-7-19
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.

请先登录,再进行评论。

回答(3 个)

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

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by