If I have one equation which includes normal distribution and other equations are still the same such as

model;

y = a(k^alpha)(l^(1-alpha))

:

c = y-i

:

:

B =P*(1-normdist(x,mean_j,stdev_j,true)… ( <----a rough example)

:

:

end;

suppose j includes some endogenous variables, such as, y.

Can dynare deal with the normal distribution equation,

or how should I do to alter a proper codes to fit it in dynare.

Thank you.