Hello. I am trying to simulate a simple deterministic model in Dynare, and I have a Matlab function that takes an integer for a current period and returns a value of an exogenous variable for this period. Is it possible for Dynare to call this function to determine the value of the exogenous variable in the model?
Thank you