What is the procedure of functions working in GUI?

2 vues (au cours des 30 derniers jours)
Nazariy
Nazariy le 1 Mai 2014
Creating GUI for my program there is a question appeared in my head: Matlab checks each function for each subject (like button or smth else)? Or matlab takes first function and then ignore others? Help me pls I cann't end my program...
  1 commentaire
Benjamin Avants
Benjamin Avants le 1 Mai 2014
Would you mind clarifying your question?
Are you asking how MATLAB finds callback functions for objects? If you give us a little more information we can probably help answer your question.

Connectez-vous pour commenter.

Réponses (1)

Image Analyst
Image Analyst le 1 Mai 2014
Basically you make a program and each control (button, listbox, etc.) has code behind it (that you write) that is ready to run and just waiting for you to interact with the control. When you do something to the control (like click on it), the code springs to life and does whatever it's supposed to do and then finishes. Then all the controls go back to waiting for interaction again. Does that make sense?

Catégories

En savoir plus sur Migrate GUIDE Apps 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