Unable to resolve the name handles.axes1
30 views (last 30 days)
Show older comments
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 Comments
Voss
on 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.
Accepted Answer
yanqi liu
on 8 Jan 2022
yes,sir,may be modify gui to app,such as
2 Comments
Cris LaPierre
on 8 Jan 2022
You might also find it easier to look at some of the example apps here and in the live script gallery.
More Answers (0)
See Also
Categories
Find more on Migrate GUIDE Apps in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!