# If statements within block model

**URL:** <https://forum.dynare.org/t/if-statements-within-block-model/2309>\
**Category:** Dynare contributions and examples\
**Created:** [7 January 2012 15:35 UTC](https://forum.dynare.org/t/if-statements-within-block-model/2309 "2012-01-07T15:35:21Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)\
**Post date:** [26 May 2021 09:21 UTC](https://forum.dynare.org/t/if-statements-within-block-model/2309/14 "2021-05-26T09:21:25Z")

</div>

See

> [@Error Message in obtaining steady state in Dynare](https://forum.dynare.org/t/error-message-in-obtaining-steady-state-in-dynare/17857/12):
>
> Your steady state file does not contain a valid computation. For example 1-ca1/((p\_n)\*(c\_n)= ca1/(e)\*(c\_t); is not a proper Matlab assignment. You cannot use implicit definitions.

---

_[View the full topic](https://forum.dynare.org/t/if-statements-within-block-model/2309)._
