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

11 ビュー (過去 30 日間)
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 件のコメント
Torsten
Torsten 2019 年 4 月 24 日
Yes.
But if you only need "normrnd", no. You can use "randn" instead.
Jayasubba Reddy Yarava
Jayasubba Reddy Yarava 2019 年 4 月 24 日
Thank you, I will try.
Best,
Yarava

サインインしてコメントする。

回答 (1 件)

Rik
Rik 2019 年 4 月 24 日
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.

カテゴリ

Help Center および File ExchangeIntroduction 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