Main function of the gui.

조회 수: 1 (최근 30일)
math search
math search 2014년 6월 4일
댓글: Image Analyst 2014년 6월 4일
Hi, there are three main function in the .m file generated by GUI. I know three of them :opening function, output function and call back function. what is the name of the last one. have a nice day.

답변 (1개)

Image Analyst
Image Analyst 2014년 6월 4일
You can see the main functions in this line:
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @edf_OpeningFcn, ...
'gui_OutputFcn', @edf_OutputFcn, ...
'gui_LayoutFcn', [], ...
'gui_Callback', []);
Not all are mandatory. In particular, the ones with [] are not present in that GUI.
  댓글 수: 2
Image Analyst
Image Analyst 2014년 6월 4일
math search incorrectly posted this as an official "Answer" to the original question, so I'm moving it here:
How can I produce that line to see them on my computer?
Image Analyst
Image Analyst 2014년 6월 4일
If you use GUIDE, it's near the top of the m-file that GUIDE produced for you.

댓글을 달려면 로그인하십시오.

카테고리

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