whats wrong with this code?

1 次查看(过去 30 天)
Muazma Ali
Muazma Ali 2022-5-8
Hi! I inserted some code in the startup callback of the appdesigner (matlab 2018 b) and I am getting error:

回答(1 个)

Image Analyst
Image Analyst 2022-5-8
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.

类别

Help CenterFile Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by