Logged In: NO

No 'foptions' is an old matlab function, now actually deprecated.
One should now use optimset / optimget.
As a quick an dirty fix you can use the following foptions function.
Just put it in an foptions.m file in your matlab path:

function OPTIONS = foptions( input_args )
if nargin<1;
parain = [];
end
sizep=length(parain);
OPTIONS=zeros(1,18);
OPTIONS(1:sizep)=parain(1:sizep);
default_options=[0,1e-4,1e-4,1e-6,0,0,0,0,0,0,0,0,0,0,0,1e-8,0.1,0];
OPTIONS=OPTIONS+(OPTIONS==0).*default_options;

Hope the maintainers of the BNT fix that sool