
Hello
How can I get the policy functions of a model?
Thank you
Camila



You can access the solution in state space form using the function sspace.


Jun 3, 2014 at 5:03 PM
Edited Jun 3, 2014 at 5:03 PM

Indeed... If you mean the firstorder solution, use sspace(...) as Micheal suggest
[T,R,K,Z,H,D,U] = sspace(m)
where the system matrices T , R , K , Z ,
H , D , U are explained in the reference manual or the function help.
If you, on the other hand, mean equations that describe optimal policy (discretionary or commitment) introduced by the operator min( )... in the model file, simply use the function get to get the list of model equations after you create the model object:
e = get(m,'xEqtn')
Best,
Jaromir

