Vector and Matrix forms

Hello erverybody,
I was wondering whether it is possible to write an economic system in Dynare also in matrix form wihtin the Dynare model set up (no euquation-by-equation). Implementing affine term structure models within the Dynare framework by brute force would be pretty tricky.
Have you any ideas or hints?
Best
I was wondering whether it is possible to write an economic system in Dynare also in matrix form wihtin the Dynare model set up (no euquation-by-equation). Implementing affine term structure models within the Dynare framework by brute force would be pretty tricky.
Have you any ideas or hints?
Best