Call back function for state button in matlab gui
Afficher commentaires plus anciens
Hi, actually I am new in GUI want to design a state button which have function like when I will press it will change it's color green and pass the value '1' to ECU and depress then back to it's original color grey and pass the value'0' to ECU. Plz help me
9 commentaires
Jan
le 13 Mar 2022
Is the GUI a figure or uifigure? Do you use AppDesigner, GUIDE or create the GUI programmatically? What does "pass to ECU" mean?
Rik
le 14 Mar 2022
For general advice and examples for how to create a GUI (and avoid using GUIDE), have look at this thread.
KUBER DWIVEDI
le 15 Mar 2022
Modifié(e) : KUBER DWIVEDI
le 15 Mar 2022
Rik
le 15 Mar 2022
How would you do this outside of a GUI?
KUBER DWIVEDI
le 15 Mar 2022
KUBER DWIVEDI
le 15 Mar 2022
KUBER DWIVEDI
le 15 Mar 2022
Rik
le 15 Mar 2022
It sounds like you don't really know how to solve this problem without a GUI. That is the first step. Since I only partly recognize the terms you're using, I'm afraid I can't help you with that part. Once you're at the stage where you only need your GUI to collect inputs, I may be able to help you.
KUBER DWIVEDI
le 16 Mar 2022
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Develop Apps Using App Designer dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!