Applying the shooting method in Dynare

Dear all,

I am trying to solve a finite-time deterministric model and so my optimality conditions include a constraint that the terminal value of the forward-looking variable should be zero. I would like to apply the shooting method to determine the initial value of the forward-looking variable that would give me an end value of zero. Is there a straight-forward way to do it?

Thanks a lot for any responses,
Iglika