I have got the error message (see below) while when I changed the simulation from variable step size to fixed step size. I do not want to run my simulation by changing sample time. And I do not know what is refine factor. Please help
Error message: "Maximum number of iterations exceeded during evaluation of non-sampled zero crossings. Please try reducing the sample time or increasing the refine factor."