title: pushbutton to change variable
body: <p>I guess this is a very simple question, but I am spending more time searching for the answer, than I would if I'd ask here</p>
  
  <p>I made 3 pushbuttons, when I click on of them, a variable has to be changed, so like:</p>
  
  <pre><code>[Button1] when pressed: bp = sys
  [Button2] when pressed: bp = mean
  [Button3] when pressed: bp = dia
  </code></pre>
  
  <p>This is what I have so far, I copied the code from a button that resumes a script. What do I need to adjust to fit my need?</p>
  
  <pre><code>kiessys = uicontrol( 'Position', [10 35 60 30],'String','Sys(R)','Callback','uiresume( gcbf )' );
  kiesmean = uicontrol( 'Position', [10 70 60 30],'String','Mean(B)','Callback','uiresume( gcbf )' );
  kiesdia = uicontrol( 'Position', [10 105 60 30],'String','Dia(G)','Callback','uiresume( gcbf )' );
  </code></pre>
  
  <p>Thanks in advance</p>