Is there a way to incorporate integrals in dynare code? For example, I have an integral of a distribution that is too complicated to do by hand. It also involves a lot of other variables. Therefore, I solved the integral with the symbolic toolbox, but as it is too complicated it was not solved. It is still depended on the variables in the integral. Therefore, is there a way for Dynare to solve it once the integral is included in a DSGE model, where some variables of it can be defined outside of the interval.