What is the procedure of functions working in GUI?

2 次查看(过去 30 天)
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 个评论
Benjamin Avants
Benjamin Avants 2014-5-1
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.

请先登录,再进行评论。

回答(1 个)

Image Analyst
Image Analyst 2014-5-1
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?

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by