title: not enough input arguments - fsolve
body: <p>I am trying to solve this system of linear equations using fsolve,</p>
  
  <pre><code>options = optimoptions('fsolve','Display','iter'); 
  guess=[0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 400000; 400000];
  [Unkn,value]=fsolve(@handleit,guess,options);
  </code></pre>
  
  <p>Where 'handleit' is</p>
  
  <pre><code>function Eqn = handleit(u3,u4,u5,u6,u7,u8,u9,u10,u11,u12,u13,u14,u15,f1,f2,f16)
  Eqn=[...some equation is here...];
  </code></pre>
  
  <p>When I execute this I get following error,</p>
  
  <pre><code>Error using handleit (line 2)
  Not enough input arguments.
  Error in fsolve (line 218)
              fuser = feval(funfcn{3},x,varargin{:});
  Caused by:
      Failure in initial user-supplied objective function evaluation. FSOLVE cannot continue.
  </code></pre>
  
  <p>About the last line in error, I have substituted my guess into the handleit function and it evaluates it without any error</p>