Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How can I get the names of checkboxes that were made with GUIDE

조회 수: 3 (최근 30일)
waleed khalid
waleed khalid 2020년 11월 12일
마감: MATLAB Answer Bot 2021년 8월 20일
I have 261 checkboxes with names all numbered from 1:261. I would like to get the names of these checkboxes to see if they are even numbers and change the name of these even checkboxes to 'even'
How would I go about doing this?

답변 (1개)

Cris LaPierre
Cris LaPierre 2020년 11월 12일
Use the object browser?
  댓글 수: 2
waleed khalid
waleed khalid 2020년 11월 12일
Yes I know i can do it like this, but I would like to do it programatically as there are some boxes i would like to exclude, and I would like the checkbox names to be changed based on several different conditions.
Cris LaPierre
Cris LaPierre 2020년 11월 12일
Do you want to change the tag name or the string text (name used to access it vs the displayed text)?

이 질문은 마감되었습니다.

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by