rng() throwing error

2 ビュー (過去 30 日間)
Scott Theer
Scott Theer 2021 年 4 月 5 日
コメント済み: Scott Theer 2021 年 4 月 5 日
When I run rng() with any input - even those in the Matlab documentation ('default' for example) - I receive the following error: "Error using rng. Too many input arguments." I am using Matlab version R2021a. I was receiving the same error on R2020b. Is this a versioning error? Any way around this issue? Thank you for your help.

採用された回答

David Fletcher
David Fletcher 2021 年 4 月 5 日
Not really sure: only thing that springs to mind is something shadowing the Matlab function?
what do get when you type:
which rng
  1 件のコメント
Scott Theer
Scott Theer 2021 年 4 月 5 日
This was exactly what was happening - Thank you! Don't think I would have ever figured that out.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by