What is the procedure of functions working in GUI?

2 ビュー (過去 30 日間)
Nazariy
Nazariy 2014 年 5 月 1 日
回答済み: Image Analyst 2014 年 5 月 1 日
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 Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by