fsolve doesn't work with parametrized function handles
<p>For example, I have defined the following function handles:  </p>

<pre><code>F = @(x, y, z)[x+y+z; x*y*z];  
funcc = @(x, y)F(x, y, 0);  
</code></pre>

<p>The call  </p>

<pre><code>res = fsolve(funcc, [10; 10]);  
</code></pre>

<p>Leads to an error:  </p>

<pre><code>Error using @(x,y)F(x,y,0)
Not enough input arguments.

Error in fsolve (line 219)
        fuser = feval(funfcn{3},x,varargin{:});

Caused by:
Failure in initial user-supplied objective function evaluation. FSOLVE cannot continue.
</code></pre>

<p>How can I fix it?</p>