reducing the StepTolerance in order to avoid MATLAB stopping integration
1 view (last 30 days)
Please, i would like to reduce the StepTolerance in order to avoid the following message:
Warning: Failure at t=6.848966e-01. Unable to meet integration
tolerances without reducing the step size below the smallest value
allowed (2.433242e-15) at time t.
This is my script:
options = optimoptions(options,'StepTolerance',1e-20);
[tSol, ySol]=ode23tb(@(t, y) MBBRFun4(t,y), tSpan, y0, options);
Please, let me know why this is not working.
Thanks in advance