uifigure and App Designer does not work in Matlab R2024b and Windows 10
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
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!