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:

Réponses (1)

Image Analyst
Image Analyst le 8 Mai 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.

Catégories

En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by