필터 지우기
필터 지우기

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
Star Strider
Star Strider 2023년 1월 6일
My pleasure!
If my Answer helped you solve your problem, please Accept it!
.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Web Services에 대해 자세히 알아보기

태그

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by