Unable to resolve the name handles.axes1

30 views (last 30 days)
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
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.
YUNHAN CHANG
YUNHAN CHANG on 8 Jan 2022
ok I see, I have attach my .mlapp file now thanks for tell me this

Sign in to comment.

Accepted Answer

yanqi liu
yanqi liu on 8 Jan 2022
yes,sir,may be modify gui to app,such as
  2 Comments
Cris LaPierre
Cris LaPierre on 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.

Sign in to comment.

More Answers (0)

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!