Unable to resolve the name handles.axes1

31 vues (au cours des 30 derniers jours)
YUNHAN CHANG
YUNHAN CHANG le 7 Jan 2022
Commenté : Cris LaPierre le 8 Jan 2022
I have a problem about put my image at the axes
Im making a GUI to turn my photo in to gray and Black&white with this video
  5 commentaires
Voss
Voss le 7 Jan 2022
The code in the video uses GUIDE and you are using AppDesigner, which is a newer alternative to GUIDE.
The problem is that the code in the video uses guidata() to refer to handle graphics objects such as axes and other things (usually stored in a struct called handles), but in AppDesigner you don't have to do that. Instead, you must refer to your axes as app.axes1 or app.axes2 or app.UIAxes or whatever they are called, rather than handles.axes1, handles.axes2, etc.
If you attach your .mlapp file, someone can check what those axes are called in your application and/or fix the callbacks to refer to the correct axes by name.
YUNHAN CHANG
YUNHAN CHANG le 8 Jan 2022
ok I see, I have attach my .mlapp file now thanks for tell me this

Connectez-vous pour commenter.

Réponse acceptée

yanqi liu
yanqi liu le 8 Jan 2022
yes,sir,may be modify gui to app,such as
  2 commentaires
YUNHAN CHANG
YUNHAN CHANG le 8 Jan 2022
thanks for helping!
Cris LaPierre
Cris LaPierre le 8 Jan 2022
If you are still looking for help with app designer, consider going through the tutorial here.
You can also find a lot of resources here.
You might also find it easier to look at some of the example apps here and in the live script gallery.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by