ttest() error (switch on line 9)
古いコメントを表示
Hello,
I am strangely getting this error when I try to run ttest() on a structure that is 91*1 single. Does anyone have an idea why, I couldn't find anything online.
Error in ttest (line 9)
switch (kind)
Thank you so much for the help, I really appreciate it!!
Best,
Idil
3 件のコメント
Tommy
2020 年 5 月 26 日
What does
which ttest -all
return?
Yagmur Ozdemir
2020 年 5 月 26 日
Tommy
2020 年 5 月 26 日
The first path - where did this function come from? As far as I can tell, the ttest published by TMW doesn't have a switch statement at line 9.
回答 (1 件)
Maadhav Akula
2020 年 5 月 31 日
0 投票
Hi Yagmur,
I think you have a file named ttest.m in your current Matlab path which is shadowing the original ttest file, please rename the file to avoid such conflicts. You can have a look at the following post on how to name a script file:
Hope this helps!
カテゴリ
ヘルプ センター および File Exchange で MATLAB Compiler についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!