guys i need help it says that it cant identify the handle.app.UIAxes3 being that the app.Axes3 is the name of the current app designer folder im working on plz help
You are now following this question
- You will see updates in your followed content feed.
- You may receive emails, depending on your communication preferences.
An Error Occurred
Unable to complete the action because of changes made to the page. Reload the page to see its updated state.
Show older comments
Accepted Answer
Image Analyst
on 30 Nov 2022
Looks like you forgot you were in AppDesigner and reverted to GUIDE programming. In App Designer you use app, not handles. So instead of handles.app.UIAxes3 you would just have app.UIAxes3. Don't use handles anywhere in your App Designer program because handles is only for GUIDE.
7 Comments
jana
on 30 Nov 2022
ok so it worked thefirst time then i get this error .another thing when it worked the first time i imported the image it opened the image in a seperate tab not in the interface that i designed how to fix that problem ?

app designer constructs its graphic objects such as axes as having handle visibility off.
When you call a graphic routine such as imshow and you do not tell it which parent to use, it searches for the active parent. However the search does not look for objects that have invisible handles. You activated an axes as the current axes but because it has an invisible handle, imshow will not find it.
When you use app designer, you should always tell it which object is the parent.
Look further down in your code. See how you passed the axes to plot()? Do the same thing for imshow.
By the way, you asked plot to plot the character vector 'a' without giving it any coordinates to plot. The character vector 'a' is not a valid color name abbreviation or line style or marker shape abbreviation so plot is going to assume it is a named option and then fail because there is no value associated with the option.
If you were trying to draw an image, then you would use imshow() or image() or imagesc() not plot()
jana
on 30 Nov 2022
im sorry last question how should i write it can u plz tell me
what are the final sentence that i shoud add to the code ,im sorry im still a beginner in this
Maybe if you attach your .mlapp file we could fix it.
that would be amazing ill send u the file if you could fix it for me i would appreciate it a lot ,and genuienly thank you for your time
just quick thing i honestly tried to do as u said but i didnt quite understand im still new to this anyways ill attach the file below
also i just want to say that when i imported the image fisrt tiem it worked then i added a new image but the changes still happened on the first on i didnt understand the issue
sorry for dusturbing another thing is that the fisrt tiem the button and the left interface worked well for importing and all that the second time i tried it it stopped working eventhough i didnt change a thing
More Answers (0)
Categories
Find more on Develop Apps Using App Designer in Help Center and File Exchange
Tags
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
