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

8 visualizaciones (últimos 30 días)
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 comentarios
Torsten
Torsten el 24 de Abr. de 2019
Yes.
But if you only need "normrnd", no. You can use "randn" instead.

Iniciar sesión para comentar.

Respuestas (1)

Rik
Rik el 24 de Abr. de 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.

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by