フィルターのクリア

error "Invalid parameter name: CriticalValueType." in example code.

10 ビュー (過去 30 日間)
Zoe Hughes
Zoe Hughes 2023 年 1 月 6 日
コメント済み: Star Strider 2023 年 1 月 6 日
hi - when I run the example code for multicompare from the documentation, I am getting an error:
>> clear
>> pack
>> load carsmall
>> [~,~,stats] = anova1(MPG,Origin,"off");
>> [results,~,~,gnames] = multcompare(stats,"CriticalValueType","dunnett");
Error using internal.stats.parseArgs (line 42)
Invalid parameter name: CriticalValueType.
Error in multcompare (line 107)
internal.stats.parseArgs(okargs,defaults,varargin{:});
Is this a geck or a system setup issue?
Thanks

採用された回答

Star Strider
Star Strider 2023 年 1 月 6 日
If I understand correctly what you’re doing, that version of the multcompare function was introduced in R2022b, according to the documentation.
You will need to upgrade to use it.
(Thank you for posting the release you¹re using.)
  2 件のコメント
Zoe Hughes
Zoe Hughes 2023 年 1 月 6 日
Thanks!
Star Strider
Star Strider 2023 年 1 月 6 日
My pleasure!
If my Answer helped you solve your problem, please Accept it!
.

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

その他の回答 (0 件)

カテゴリ

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

タグ

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by