function  simple_gui()

f = figure('Visible', 'off', 'color', 'white', 'Position', ...
    [300, 400, 450, 250]);

htext = uicontrol('Style', 'text', 'Position', ...
    [200, 50, 100, 25], 'String', 'My first GUI string');

set(f, 'Name', 'Simple GUI')

movegui(f, 'center')

set(f, 'Visible', 'on')

end

