whats wrong with this code?
Show older comments
Hi! I inserted some code in the startup callback of the appdesigner (matlab 2018 b) and I am getting error:

Answers (1)
Image Analyst
on 8 May 2022
0 votes
You called your app "app1" not "app" so you'd need app1.UIFigure.
However I think that all axes and widgets on your UI should be created with App Designer, not manually created by you during the startup.
Categories
Find more on Startup and Shutdown 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!