Numerical study of soliton emission from a nonlinear waveguide