Why will uifigure not create a window in r2023a?
16 次查看(过去 30 天)
显示 更早的评论
I have a script that creates an interactive window using the uifigure function. I have noticed that I could only get it to work on my Windows 10 computer running r2023a, but not running the same script on a remote cluster using CentOS7 r2023a. Some simple debugging revealed that uifigure function will produce a handle with all the appropriate attributes, but will not display any window, even when the 'Visible' property is set to 'on', or when the position vector is set to something that should be in the middle of the screen. It will however display a window for the figure function. When I loaded the modules for older versions (r2020a, r2019a, r2021a and r2022a were tested) I did not experience this problem, nor did I for for r2023a running on Windows.
If it helps for troubleshooting, when launched from the terminal, it outputs the following to the terminal:
"MATLAB is selecting SOFTWARE OPENGL rendering.
Gtk-Message: 15:28:59.180: Failed to load module "pk-gtk-module"
Gtk-Message: 15:28:59.185: Failed to load module "canberra-gtk-module" "
and in the matlab command window:
" Warning: X does not support locale en_US.UTF-8 "
the latter warning does not occur in r2021 and earlier. This makes me think this may be an issue with the OS windowing system? I could just always use an earlier version, but I'd like to know what's wrong, and get it to work.
2 个评论
Gavin
2023-5-16
Hi there. Did tech support ever help you through this? I'm having the same issue and it's incredibly frustrating.
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!