Effacer les filtres
Effacer les filtres

I have a problem with appdesigner, can you help me?

2 vues (au cours des 30 derniers jours)
Tania Goddi
Tania Goddi le 7 Avr 2023
Commenté : Tania Goddi le 7 Avr 2023
Hello everyone, I have inserted a checkbox in Appdesigner, how can I verify that this has been checked?
Thank you for your help.

Réponses (2)

Image Analyst
Image Analyst le 7 Avr 2023
if app.checkBox.Value
uiwait(helpdlg('The checkbox is currently checked.'))
else
uiwait(helpdlg('The checkbox is currently NOT checked.'))
end

Kevin Holly
Kevin Holly le 7 Avr 2023
Modifié(e) : Kevin Holly le 7 Avr 2023
If the checkbox is checked, it would have a value of 1. Otherwise, it would have a value of 0.
The value can be found with the following command:
app.CheckBox.Value

Catégories

En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by