I tried to run a mod file using matlab. When I type "dynare filename", a message appears and says "dynare stopped working". Then, in the Command Window I see
"This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information."
Does anyone have an idea of why that occurs? I was using external functions which include integrals. Can it be the source of the problem?