Why will uifigure not create a window in r2023a?
16 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Andrew Morris
am 12 Apr. 2023
Kommentiert: Andrew Morris
am 16 Mai 2023
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 Kommentare
Gavin
am 16 Mai 2023
Hi there. Did tech support ever help you through this? I'm having the same issue and it's incredibly frustrating.
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!