title: Matlab slider pass value to event handler
body: <p>I am new of Matlab GUI and i have the following problem.
  I have declared a slider control and his properties, and i have added a listerner to the callback and to the PostSet event handler (i think that it is  tecnically called event handler) as you can see below:</p>
  
  <pre><code>function [] = HandlerSlide()
  %HANDLERSLIDE Summary of this function goes here
  %   Detailed explanation goes here
  clf;
  due = '2';
  hSlider = uicontrol(                ...
      'Style','slider',               ...
      'Callback',@(s,e) disp(['hello ',num2str(due),' asdad']),...
      'Position', [400 30 200 20]     ... %[x,y, widht, height]
  );
  hListener = addlistener(hSlider,'Value','PostSet',@pippo);
  
  
  end
  
  function [] = pippo(s,e)
  
  disp('ciao');
  
  end
  </code></pre>
  
  <p>As you can see i have used parameter "<em>due</em>" in the Callback handler (the  anonymous function). Now i would like to pass parameter to use in the "<em>pippo</em>" function without declare it as anonymous function. Is it possible?
  In other words i would like to declare "<em>hListerner</em>" like this:</p>
  
  <pre><code>hListener = addlistener(hSlider,'Value','PostSet',@pippo{parameter1,parameter2, etc ...});
  
  function[] = pippo(s,e, parameter1, parameter2, etc ...)
  </code></pre>
  
  <p>Beside how can i use in the main the value returned by "<em>pippo</em>"?</p>
  
  <p>thank you in advance :D</p>