function [] = simpleGUI()
x = 1;
mainFig = figure('Visible','on',...
    'Tag','MainFigure',...
    'name','SimpleGui',...
    'NumberTitle','off',...
    'menubar','none',...
    'Color',[.5 .6 .5],...
    'Position',[210,170,660,440]);

PlotButton = uicontrol('Style','PushButton',...
    'Position',[200,43,80,40],...
    'String','Click',...
    'FontSize',18,...
    'Fontweight','b',...
    'Background',[1 1 1],...
    'Foreground',[.1 .1 .1],...
    'Callback',@func_Callback);
 
function func_Callback(source,eventdata)
    disp('button clicked');
    disp(x);
    x = x + 1;
end

end