uifigure and App Designer does not work in Matlab R2024b and Windows 10

조회 수: 6 (최근 30일)
Daniele
Daniele 2025년 7월 19일
편집: Daniele 2025년 7월 20일
I am trying to run a matlab code that worked fine on other PCs, then I managed to install Matlab R2024b on my laptop and the app doesn't work.
Looking at the code I see that it freezes (without errors) in this line:
fig = uifigure('Name', 'Title', ...
'Position', [100 100 550 490], ...
'WindowStyle', 'normal', ...
'CloseRequestFcn', @(src,event) closeGUI(src));
I also tried to just run:
fig = uifigure();
or:
fig = uifigure('Name', 'Title', 'Position', [100, 100, 550, 490]);
But it didn't work. At the beginning it worked just the case without parameters, but then it stopped to work also in that case.
EDIT: I realized that also the "App Designer" feature doesn't work for me. When I press the button APPS -> Design App it loads for ever and nothing shows up.
Things I tried:
  • Repair Microsoft Edge WebView2
  • Update AMD Radeon GPU drivers (after this the app worked just twice after matlab restart, and then it didn't work even after various reboots)
  • Disabled WebView2 gpu optimizations: set WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS=--disable-gpu-compositing and set WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS=--disable-gpu and also setx MATLAB_WEBWINDOW_SOFTWARE 1
  • Activated GPU acceleration in Windows settings for matlab.exe
Here there are my PC specs:
  • Processor: AMD Ryzen 5 5625U with Radeon Graphics 2.30 GHz
  • Installed RAM: 16.0 GB (15.3 GB usable)
  • System type: 64-bit operating system, x64-based processor
Can you please help me with this? Any suggestion?
Many thanks
  댓글 수: 2
Torsten
Torsten 2025년 7월 19일
편집: Torsten 2025년 7월 19일
You should directly contact MATLAB Support:
I guess the system requirements listed in the attached document are fulfilled ?
Daniele
Daniele 2025년 7월 20일
편집: Daniele 2025년 7월 20일
Thanks Torsten,
I veryfied the system requirements and it should be ok. The only thing is that I don't have a dedicated GPU and my integrated one has only 512MB of VRAM. Obviously it is not a gaming or high performance PC but it should be more than enough to open a simple GUI.
I submitted the same to the MathWorks support form. I was just wondering if someone else has experienced the same issues.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품


릴리스

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by