Dynare preamble: set a parameter which is a matrix

Can I declare to Dynare preamble a parameter which is not a scalar but a matrix (NxN)?

I have a set of parameters stored in a matrix from another rutine, eg. A(5x5).
Am I forced to convert each cell of A into a 1x1 scalar parameter, eg. a=A(1,1); b=A(1,2); etc…
Or can I use directly A as a parameter in the declaration of the model?


You need to convert everything to scalars. Dynare does not support matrix parameters, only scalar parameters.

Thanks Sebastien.