Matrix determinant in local variable declaration

Hi all,

In model declaration, we can create model-local variables:

Some of my local variables are solved for from a linear equation system, and I want to apply Cramer’s rule directly in the local variable declaration. So I wonder if it is possible to define matrix in

and it is possible to compute their determinant. If it is, how?

Thanks!

No, that is not possible. Matrix operations are best conducted in a _steadystate-file.

Thank you, Professor.
One more question, when using _steadystate.m file, could Bayesian Estimation still be conducted in dynare?

Sure. That has nothing to do with the steady_state-file or the steady_state_model-block.