title: An error in the timer function (MATLAB R2014a)
body: <p>I am stuck in an error of timer function. Although I have tried to search, I find no answer.</p>
  
  <pre><code>function figure1_CreateFcn(hObject, eventdata, handles) 
  global t
  t = timer( 'ExecutionMode', 'fixedRate', 'StartDelay',1, 'Period',1,'TasksToExecute',150); 
  t.TimerFcn = {@my_callback_fcn};
  </code></pre>
  
  <p>The error I got is:</p>
  
  <blockquote>
    <p>Error while evaluating TimerFcn for timer 'timer-1'<br>
    Too many input arguments.</p>
  </blockquote>
  
  <p>My MATLAB version is R2014a. The <code>start</code> function is called <code>pushbutton2_Callback</code> function.<br>
  I have tried to change <code>Period</code> to <code>1.0</code>, <code>TasksToExecute</code> to <code>inf</code> or <code>TimerFcn</code> in the call to <code>timer</code>. It does not help. </p>
  
  <p>Is there anyone who can help me out?</p>