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

10 views (last 30 days)
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 Comments

Sign in to comment.

Answers (1)

Rik
Rik on 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.

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!