matlab gui frame 连续checkbox

 

   uicontrol('units','normal','pos',[.68 .13 .12 .18], ...

     'style','frame','background','white')

   F = {'linear','poly','spline','pchip'};

   pos = [.69 .26 .09 .04];

   vis = 0;

   for k = 1:4

      uicontrol('units','normal','pos',pos, ...

         'style','check','string',F{k},'value',vis, ...

         'background','white','foreground',get(p(k+1),'color'), ...

         'callback','interpgui(''cb'')');                                   %UPDATE?

      pos(2) = pos(2)-.04;

   end

   uicontrol('units','normal','pos',[.85 .01 .10 .06], ...

      'style','push','string','close','tag','reset/close', ...

      'callback','close(gcf)');

 

你可能感兴趣的:(String,matlab,callback)