3Dgraphs from dynare's output

I am running dynare with matlab and I would need to create, for instance, a 3Dgraph of the variance of inflation w.r.t. other parameters.
An example on a basic RBC model can be found at page 18 on this paper (url): robertopancrazi.com/TFP_Mone … on_all.pdf
I cannot figure out how do I extrapolate the necessary expression and how do I implement the computation on matlab (and most importantly I don’t know where to look for such an issue).

You have to write a loop around Dynare using Matlab, either using the noclear option of Dynare or using the set_param_value command in combination with repeated calls to stoch_simul. The graphs are standard Matlab mesh /surf plots.