Unable to resolve the name handles.axes1
31 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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
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.
Réponse acceptée
yanqi liu
le 8 Jan 2022
yes,sir,may be modify gui to app,such as
2 commentaires
Cris LaPierre
le 8 Jan 2022
You might also find it easier to look at some of the example apps here and in the live script gallery.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!