O'Reilly logo
  • Hideaki Yamamoto thinks this is interesting:

  % Create the slider object

  slhan = uicontrol(‘Style’,‘slider’,‘Position’,[140,280,100,50], …

           ‘Min’, minval, ‘Max’, maxval,‘Callback’, @callbackfn);