function [a b]=func1(x,sigma)a=x^2+sigma;b=2*x+sigma;function test(func,x)sigma=1f=@(x) func(x,sigma);[a b]=f(x);输入test(@func1,2)为甚么会出错?直接f=@(x) func1(x,sigma);[a b]=f(x);就没有问题。求解释以及解决方法,谢谢了!