Prev: custom legend: different data series with the same colors
Next: problem with Simulink/Stateflow
From: Petra on 19 Mar 2010 07:09 Hi all, I want to link 2 text-boxes to one scroll bar. Here is one simple example to show you my problem. s = num2str((1:1000)'); h = figure; uicontrol('Parent',h,... 'Units','normalized',... 'Style', 'text', 'String', s,... 'Position', [0.1,0.1,0.2,0.6]); uicontrol('Parent',h,... 'Units','normalized',... 'Position',[0.6,0.1,0.2,0.6],... 'Style','edit',... 'Max',100,... 'Enable','inactive',... 'String',s) Now I want to link the left text-box to the right scrall bar. But how?
|
Pages: 1 Prev: custom legend: different data series with the same colors Next: problem with Simulink/Stateflow |