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

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".

4 Commenti

If you can show us the code for the line random() is called, we might be able to suggest a replacement; we would need any makedist() call too.
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.
I used matlab on linux. What I did was start matlab with sudo and it worked

Accedi per commentare.

Risposte (3)

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.
"Your administrator has restricted your download access to this MathWorks product".
You would have to get your administrator to install the toolbox.
"Your administrator has restricted your download access to this MathWorks product".
how did u solve this problem?
thank u~

1 Commento

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.

Accedi per commentare.

Categorie

Richiesto:

il 19 Lug 2021

Commentato:

il 28 Set 2024

Community Treasure Hunt

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

Start Hunting!

Translated by