# Re-computing the steady state from external file

**URL:** <https://forum.dynare.org/t/re-computing-the-steady-state-from-external-file/16543>\
**Category:** Steady state\
**Created:** [3 September 2020 17:05 UTC](https://forum.dynare.org/t/re-computing-the-steady-state-from-external-file/16543 "2020-09-03T17:05:04Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![cmarch](https://forum.dynare.org/user_avatar/forum.dynare.org/cmarch/32/7827_2.png) [@cmarch](https://forum.dynare.org/u/cmarch)\
**Post date:** [4 September 2020 06:21 UTC](https://forum.dynare.org/t/re-computing-the-steady-state-from-external-file/16543/2 "2020-09-04T06:21:41Z")

</div>

Hi chicoutimy,

Since release 4.6.0, the function declaration has been changed to reflect the move of some structures like `M_` from global variables into function inputs

Dynare 4.6.0:

```auto
function [ys,params,check] = NK_baseline_steadystate(ys,exo,M_,options_)

```

Previous releases:

```auto
function [ys,check] = NK_baseline_steadystate(ys,exo)

```

See

> [@Code not working after updating Dynare to 4.6.0](https://forum.dynare.org/t/code-not-working-after-updating-dynare-to-4-6-0/15254/5):
>
> M\_ is not global anymore, but it is a function input. So outside of the header, nothing changes. Of course, if M\_ was used as a global variable in the function to be solved, then you need to adjust that function as well to accept M\_ as an input.

---

_[View the full topic](https://forum.dynare.org/t/re-computing-the-steady-state-from-external-file/16543)._
