Issue with kruskalwallis() function not working in Live Script after installing MATLAB R2025a

5 次查看(过去 30 天)
Hi everyone,
After installing MATLAB version R2025a, I noticed that some functions freeze and do not run at all in Live Script. For example, the function kruskalwallis() completely freezes when executed within a Live Script, but it works normally in the Command Window and regular scripts.
Has anyone else experienced this issue? Is there any known solution or workaround?
Thank you in advance for your help!
  3 个评论
Geovane Gomes
Geovane Gomes 2025-6-3
编辑:Geovane Gomes 2025-6-3
On R2024 it runs well. It seems that this problem is specific to R2025a. Maybe I need to revert back to R2024b until this issue is resolved.

请先登录,再进行评论。

回答(1 个)

Hitesh
Hitesh 2025-6-4
编辑:Hitesh 2025-6-4
Hi Geovane Gomes,
I too encountered the similar issue. The workaround that worked for me was to disable the plot output. Kindly use the following command to disable the plot while calling the "kruskalwallis" function. However using this command will execute the "kruskallwallis" with ANOVA table and stats in MATLAB R2025a in live Script but it will not generate or display associated plot.
[p,tbl,stats] = kruskalwallis(x,[],'off')

类别

Help CenterFile Exchange 中查找有关 MATLAB Report Generator 的更多信息

产品


版本

R2025a

Community Treasure Hunt

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

Start Hunting!

Translated by