Why will uifigure not create a window in r2023a?
16 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Andrew Morris
el 12 de Abr. de 2023
Comentada: Andrew Morris
el 16 de Mayo de 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 comentarios
Gavin
el 16 de Mayo de 2023
Hi there. Did tech support ever help you through this? I'm having the same issue and it's incredibly frustrating.
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!