Problem about using DiscreteCallback function in solving ODE problem

Yes it works now. Thanks a lot!

1 Like