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)