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

6 views (last 30 days)
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 Comments
Torsten
Torsten on 19 Jul 2025
Edited: Torsten on 19 Jul 2025
You should directly contact MATLAB Support:
I guess the system requirements listed in the attached document are fulfilled ?
Daniele
Daniele on 20 Jul 2025
Edited: Daniele on 20 Jul 2025
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.

Sign in to comment.

Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2024b

Community Treasure Hunt

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

Start Hunting!