Fix my radio button in GUI (app designer)
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I have a problem with selecting the buttons , like I want when I choose the 90 degree button it will not shows the other rotation. so when one button is clicked the other shoulb be unchecked.
2 Kommentare
Rik
am 5 Dez. 2021
The callback should check which of your polygons are visible and set their visibility to off. The easiest way to keep track is to store the states in a separate array.
Adam Danz
am 5 Dez. 2021
Bearbeitet: Adam Danz
am 5 Dez. 2021
When a rotation option is selected you're creating a new object. Instead, you should update the object's coordinates so you're still working with 1 object.
It's like instead of moving a car to another parking space, you're just building a new one and now you have 2 cars which sounds pretty cool but inefficient.
Antworten (0)
Siehe auch
Kategorien
Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!