MATLAB: DISPLAYOPT must be ‘on’ or ‘off’.

displayopt

Hi,
in my code i had this error. The line where the error is that:
stats_multcompare]=multcompare(stats_KW,0.05,'display','off');
can anybody help me??
Thanks

Best Answer

Maybe this will work
stats_multcompare = multcompare(stats_KW,'display','off');
Just remove the second input argument, 0.05, in your code. In MATLAB Product Ducmentation, the input argument Name and Value should be declared in pairs
c = multcompare(stats,Name,Value)
Related Question