필터 지우기
필터 지우기

Fix my radio button in GUI (app designer)

조회 수: 4 (최근 30일)
Rami
Rami 2021년 12월 4일
편집: Adam Danz 2021년 12월 5일
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
Rik
Rik 2021년 12월 5일
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
Adam Danz 2021년 12월 5일
편집: Adam Danz 2021년 12월 5일
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.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 App Building에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by