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 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