doubts regarding GUI. can some one explain me the code thats generated in each GUI? i hav given the code in the body.
Show older comments
function varargout = compression(varargin)
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @compression_OpeningFcn, ...
'gui_OutputFcn', @compression_OutputFcn, ...
'gui_LayoutFcn', [] , ...
'gui_Callback', []);
if nargin && ischar(varargin{1})
gui_State.gui_Callback = str2func(varargin{1});
end
if nargout
[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
else
gui_mainfcn(gui_State, varargin{:});
end
3 Comments
Geoff Hayes
on 14 Mar 2015
Pradeep - what doubts do you have? The above code is typical for GUIs created using GUIDE and can be safely ignored. The important function is gui_mainfcn which (according to the documentation) handles GUI creation, layout, and callback dispatch.
Pradeep Gowda
on 17 Mar 2015
kavinpradeep velusamy
on 30 Jan 2017
what language is used?
Answers (0)
Categories
Find more on Graphics Objects 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!