# Deterministic simulation: shocks block setup

**URL:** <https://forum.dynare.org/t/deterministic-simulation-shocks-block-setup/19099>\
**Category:** Perfect foresight simulations\
**Created:** [15 October 2021 10:38 UTC](https://forum.dynare.org/t/deterministic-simulation-shocks-block-setup/19099 "2021-10-15T10:38:33Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![alex.crescentini](https://forum.dynare.org/user_avatar/forum.dynare.org/alex.crescentini/32/18322_2.png) [@alex.crescentini](https://forum.dynare.org/u/alex.crescentini)\
**Post date:** [15 October 2021 13:56 UTC](https://forum.dynare.org/t/deterministic-simulation-shocks-block-setup/19099/3 "2021-10-15T13:56:33Z")

</div>

Thank you Johannes, this is exactly what I was looking for. So, if I got into this the code should be the following:

shocks;  
oo\_.exo\_simul = mymatrix  
end;

Is it right?

---

_[View the full topic](https://forum.dynare.org/t/deterministic-simulation-shocks-block-setup/19099)._
