GUI error on Linux only
조회 수: 18 (최근 30일)
이전 댓글 표시
I'm getting some GUI issues only in my Linux installation. On Windows this GUI works fine.
List of issues:
- Default placeholder items values appearing on the list (Item 1, 2, 3, 4), but they shouldn't when it is empty.
- Add and Remove buttons don't work.
- There are hidden radio buttons on Use Credentials vs Use PAT to switch between tabs. They don't work.
- <New Alias> placeholder showing at the top
- Missing UI elements
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1609641/image.png)
Plus, I'm getting this warning on the command window when I load the UI.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1609646/image.png)
Does any of these errors ring a bell to any of you?
-----------------------------
EDIT: previously I said that I could only run this on an Ubuntu VM. Now I could run it natively and the same error appears.
댓글 수: 0
채택된 답변
추가 답변 (2개)
Taylor
2024년 2월 13일
A compiled MATLAB binary can only be run on machines which match the architecture of the machine that originally compiled the binary.
prabhat kumar sharma
2024년 2월 14일
Hello Diago,
I understand you're having trouble with your Linux VM's GUI elements in MATLAB, while it works fine on Windows root machine.
As per my understanding , MATLAB has encountered low-level issues while creating graphics on your system.It seems like MATLAB is struggling to render graphics properly on your Linux system.
Here are some suggestions you can try to get things running smoothly:
- Upgrade Your Graphics Hardware Drivers
- Choose a Renderer Implementation for Your System
- Fix Out-of-Memory Issues
Or maybe your current Linux distribution isn't fully compatible with your MATLAB version. Try using a distro known to work well with MATLAB.
As a workaround you can execute,
opengl hardware
This command renders subsequent graphics. If your graphics hardware does not support hardware-accelerated OpenGL, then MATLAB uses a software version instead.
To save it for future instances of MATLAB execute the following,
opengl('save','hardware');
I hope it helps to resolve your issue!
참고 항목
카테고리
Help Center 및 File Exchange에서 Graphics Performance에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!