|
Hello Ahmed,
This should get you started:
% Open a new figure window. This will be the panel.
h = figure;
% Set properties. If you want a modal window, that is, if you don't want the areas outside the window to be clickable, you should set the 'WindowStyle' property to 'modal'.
set(h,'MenuBar','None','Resize','Off','Name','You can name this as you want','NumberTitle','Off','Position',[100 128 845 500]);
% Put a button on the panel. You can put any other thing you want: edit box, etc.
uicontrol(h,'style','pushbutton','units','pixels','string','My Button','Callback',@figure,'position',[100 100 100 100]);
Best.
|