I have a problem with appdesigner, can you help me?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hello everyone, I have inserted a checkbox in Appdesigner, how can I verify that this has been checked?
Thank you for your help.
0 comentarios
Respuestas (2)
Image Analyst
el 7 de Abr. de 2023
if app.checkBox.Value
uiwait(helpdlg('The checkbox is currently checked.'))
else
uiwait(helpdlg('The checkbox is currently NOT checked.'))
end
Kevin Holly
el 7 de Abr. de 2023
Editada: Kevin Holly
el 7 de Abr. de 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
Ver también
Categorías
Más información sobre Software Development Tools en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!