The example shows the name change for the Slider object from
Slider to
AnalysisType. Name changes are
also reflected in the code when the design is saved as
an OML file.
AnalysisType = uicontrol('parent', DialogRunAnalysis, 'style','slider'...
, 'max', 99 , 'min', 0 ...
, 'value', 0 , 'sliderstep', [1 10]...
, 'callbackdelay', 0 , 'orient','horizontal'...
, 'callback','AnalysisType_callback', 'interruptible','off'...
, 'enable','on'...
, 'units','normalized', 'position',[0.22 0.41 0.55 0.07]...
, 'backgroundcolor', [246 246 246]...
, 'tag','', 'tooltipstring','', 'userdata', [], 'visible','on');