function x_star=sd_ros_matlab()

x0=rand(2,1);

fval=@myfun;
x_star = fmincon(fval,x0,[],[],[],[],[],[],[]);

    function y=myfun(x)
        [y,~,~]=fun(x);
    end
        
end