UIalert icon disappears in deployed application
39 views (last 30 days)
Show older comments
David Walsh
on 16 Apr 2024 at 23:33
I have been working on an App Designer application in Matlab 2023b with Update 7. I deployed using the Standalone Desktop Application compiler and noticed that all uialert icons do not display when running the executable. When running from source they show up correctly as shown below.
However, when running a compiled application they disappear (shown below).
Initially I thought it was an issue generated when I converted my original app from 2023a to 2023b, however I tested this just by creating a new 2023b app with
uialert(app.UIFigure,'Test Alert','Icon Error', 'Interpreter','html', 'Icon','warning');
in the startupFcn and nothing else. Deploying this with the application compiler has given the results in the image above. There are no warnings or errors in the console when I run th application. When I deploy the same app in 2022a or 2023a the icon does show up properly.
I have reset my Windows Explorer icon cache as suggested in this post:
but it has not solved the problem.
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!