How do I get rid of this error. Error using monte_carlo_error (line 42) 'normrnd' requires Statistics and Machine Learning Toolbox."

8 Ansichten (letzte 30 Tage)
Dear Sir/Madam
I have a licensed MATLAB R2019a software. I am running a code. It has the following error.
"Error using monte_carlo_error (line 42) 'normrnd' requires Statistics and Machine Learning Toolbox."
Could you please let me know how to solve this error.
Thank you,
Best,
Yarava
  4 Kommentare
Torsten
Torsten am 24 Apr. 2019
Yes.
But if you only need "normrnd", no. You can use "randn" instead.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Rik
Rik am 24 Apr. 2019
The Statistics and Machine Learning Toolbox is included in the student suite (which is a product you can buy with a student licence type), but if you bought something different, you will have to buy it separately.
But as Torsten mentioned, for this specific function there is an alternative.

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by