# Error in my staeday state function

**URL:** <https://forum.dynare.org/t/error-in-my-staeday-state-function/21800>\
**Category:** Steady state\
**Created:** [17 January 2023 16:32 UTC](https://forum.dynare.org/t/error-in-my-staeday-state-function/21800 "2023-01-17T16:32:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sangwoo](https://forum.dynare.org/letter_avatar_proxy/v4/letter/s/7cd45c/32.png) [@sangwoo](https://forum.dynare.org/u/sangwoo)\
**Post date:** [17 January 2023 16:32 UTC](https://forum.dynare.org/t/error-in-my-staeday-state-function/21800/1 "2023-01-17T16:32:09Z")

</div>

[read\_data\_May20.m](https://forum.dynare.org/uploads/short-url/kB3ZvCzQe8Zb8KK2cJWNNM0XLPz.m) (569 Bytes)  
[data\_to\_estim\_BigTNTMay20.mat](https://forum.dynare.org/uploads/short-url/dKhTuHvFZV12MGN1upbYBFcQfCK.mat) (58.1 KB)  
[TNT\_Big\_May20\_steadystate.m](https://forum.dynare.org/uploads/short-url/fvgMHan3RAM0aVmxnXdvQQboDXT.m) (8.1 KB)  
[TNT\_Big\_May20.mod](https://forum.dynare.org/uploads/short-url/mHHeDRhQPyREVfOA4RsocQUXan5.mod) (30.8 KB)

[Readme.pdf](https://forum.dynare.org/uploads/short-url/9CCyBROG4r0wjNmeNU5vVSv0ln4.pdf) (114.3 KB)

Dear Professor,  
I’m working on the Thesis “Revisiting the Exchange Rate Pass Through: A General Equilibrium  
Perspective” and triying to replicate the code.  
but it keep giving me error as

‘TNT\_Big\_MAY20\_steadystate’ is undefined function or variable.  
error: evaluate\_steady\_state\_file (49번 라인)  
[ys,params1,check] = h\_steadystate(ys\_init, exo\_ss,M,options);  
error: evaluate\_steady\_state (254번 라인)  
[ys,params,info] = evaluate\_steady\_state\_file(ys\_init,exo\_ss,M, options,steadystate\_check\_flag);  
error: steady\_ (55번 라인)  
[steady\_state,params,info] = evaluate\_steady\_state(oo\_.steady\_state,M\_,options\_,oo\_,~options\_.steadystate.nocheck);  
error: steady (80번 라인)  
[oo\_.steady\_state,M\_.params,info] = steady\_(M\_,options\_,oo\_);

I checked some websites but I did not kind a way to help me solve the problem

I’m using dynare 5.3 and using latest version of Matlab

I sincerely look forward to hearing from you!

---

<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:** [19 January 2023 08:58 UTC](https://forum.dynare.org/t/error-in-my-staeday-state-function/21800/2 "2023-01-19T08:58:42Z")

</div>

For Dynare 5.X, you need:  
[TNT\_Big\_May20.mod](https://forum.dynare.org/uploads/short-url/12WufAKZ3nsY6mKBNpkQcmDupLS.mod) (30.8 KB)  
[TNT\_Big\_May20\_steadystate.m](https://forum.dynare.org/uploads/short-url/78tWXuHMouDdYUaUYPNZ6uctUF4.m) (7.7 KB)

---

<div class="post-metadata">

**Author:** ![sangwoo](https://forum.dynare.org/letter_avatar_proxy/v4/letter/s/7cd45c/32.png) [@sangwoo](https://forum.dynare.org/u/sangwoo)\
**Post date:** [22 January 2023 08:00 UTC](https://forum.dynare.org/t/error-in-my-staeday-state-function/21800/3 "2023-01-22T08:00:18Z")

</div>

Thanks for your help, professor.
