Looping over parameter value/entering value from matlab


I am trying to solve a NK model in Dynare. I was wondering if it’s possible to call one of the parameter values from a matlab file, or loop over a parameter value? I basically need to be able to look at the change in the volatility of variables as a certain parameter changes, and ideally I would like to be able to save these volatilities and draw a graph against the parameter value. Since the parameter will take many values, I obviously can’t write a different dynare code for each of them.

Is this possible with dynare or should I solve my model in matlab?

That is quite easily doable: [Loop over parameters)

ok, thanks. That helps a lot. Sorry for the late reply, I was off working on the model!