필터 지우기
필터 지우기

I need 100% divided to multiple check boxes in MATLAB

조회 수: 1 (최근 30일)
Muhammad Usman Ghani
Muhammad Usman Ghani 2020년 1월 30일
댓글: Muhammad Usman Ghani 2020년 2월 3일
I have a figure containing 30 check boxes. Now I need to make a box on figure which should show 100% when all boxes will be checked. And if some boxes are unchecked it should show percentage accordingly.
Can anyone share a code which I can implement on my figure? Thank you so much!

답변 (2개)

Adedeji
Adedeji 2020년 1월 30일
Hi Muhammad,
You will need to be explicit in your question.
Can you give a pictorial representation of your concept to make the explanation better?
  댓글 수: 1
Muhammad Usman Ghani
Muhammad Usman Ghani 2020년 2월 3일
As in this image, I've checked 4 boxes and its percentage box is showing 40%. This should change in accordance with the number of boxes I check or uncheck. I hope you will get my idea now.

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


Muhammad Usman Ghani
Muhammad Usman Ghani 2020년 1월 30일
As in this image, I've checked 4 boxes and its percentage box is showing 40%. This should change in accordance with the number of boxes I check or uncheck. I hope you will get my idea now.

카테고리

Help CenterFile Exchange에서 Graphics Object Programming에 대해 자세히 알아보기

제품


릴리스

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by