What is the procedure of functions working in GUI?

2 views (last 30 days)
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 Comment
Benjamin Avants
Benjamin Avants on 1 May 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.

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 1 May 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?

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!