1 2 3 4 5 6
| for i = 1 : 8
SF_AD_Panel(i) = uipanel('parent',SF_Adpat_Dispo2,'position',[0.02 0.95-i*1.1/10 0.82 0.1],'Bordertype','beveledin','BackgroundColor',[0.8 0.8 0.8]);
SF_AD_ChckB(i) = uicontrol('parent',SF_AD_Panel(i),'position',[5 2 140 15],'style','checkbox','string',[BaseDon_Adapt_Nom(i) , ':'],'BackgroundColor',[0.8 0.8 0.8],'callback','CB_SF_AD_ChckB');
SF_AD_Masse_txt(i) = uicontrol('parent',SF_AD_Panel(i),'position',[155 2 60 15.5],'style','edit','string',num2str(BaseDon_Adapt_Masse(i)),'backgroundcolor',[1 1 1],'Enable','off');
end |