I need 100% divided to multiple check boxes in MATLAB

3 visualizaciones (últimos 30 días)
Muhammad Usman Ghani
Muhammad Usman Ghani el 30 de En. de 2020
Comentada: Muhammad Usman Ghani el 3 de Feb. de 2020
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!

Respuestas (2)

Adedeji
Adedeji el 30 de En. de 2020
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 comentario
Muhammad Usman Ghani
Muhammad Usman Ghani el 3 de Feb. de 2020
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.

Iniciar sesión para comentar.


Muhammad Usman Ghani
Muhammad Usman Ghani el 30 de En. de 2020
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.

Categorías

Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.

Productos


Versión

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by