Notice! This document is currently in Archived status.
The content of this document may be incorrect or out dated.

GUI Examples

filename: gui_example.m

hslide = uicontrol('style','slider','units','normal',...
         'pos',[.4 .0 .2 .05],'callback','set_num','Min',0,'Max',10);

number = uicontrol('style','text','units','normal','pos',[.4 .05 .2 .05]);

filename: set_num.m

value = get(hslide,'Value');
S = sprintf('%1.3f',value);

plot( ( (1:100)/100).^value )

Last modified: 2007/03/20 17:12:16.078000 GMT-4 by Unknown
Created: 2007/03/20 17:12:16.078000 GMT-4 by brian.r.brinegar.1.



Type in a few keywords describing what information you are looking for in the text box below.

Admin Options: Edit this Document