whats wrong with this code?

Hi! I inserted some code in the startup callback of the appdesigner (matlab 2018 b) and I am getting error:

Answers (1)

Image Analyst
Image Analyst on 8 May 2022
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

Asked:

on 8 May 2022

Answered:

on 8 May 2022

Community Treasure Hunt

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

Start Hunting!