If functions in Dynare

Hello everybody,
I am relativly new with Dynare and so I am wondering wherther it is possible to use if functions (like in matlab) in Dynare.
e.g.:
if alpah>=0.9;
beta=0.2;
else
beta=0;
end
I already checked the half forum but i could not find any subject relating to my question.
Many thanks in advance for answering my question.
With best regards,
mp_macro
I am relativly new with Dynare and so I am wondering wherther it is possible to use if functions (like in matlab) in Dynare.
e.g.:
if alpah>=0.9;
beta=0.2;
else
beta=0;
end
I already checked the half forum but i could not find any subject relating to my question.
Many thanks in advance for answering my question.
With best regards,
mp_macro