Models with Entry Cost

Has anyone used Dynare to solve models with an entry cost faced by firms? An example will be appreciated.