# Irf\_calibration command

**URL:** <https://forum.dynare.org/t/irf-calibration-command/5960>\
**Category:** Identification/Sensitivity\
**Created:** [3 January 2017 10:42 UTC](https://forum.dynare.org/t/irf-calibration-command/5960 "2017-01-03T10:42:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![narges1364](https://forum.dynare.org/letter_avatar_proxy/v4/letter/n/7bcc69/32.png) [@narges1364](https://forum.dynare.org/u/narges1364)\
**Post date:** [3 January 2017 10:42 UTC](https://forum.dynare.org/t/irf-calibration-command/5960/1 "2017-01-03T10:42:02Z")

</div>

Hello everyone!

I want to run a DSGE model with an irf\_calibration command. I used version 4.4.3 of dynare, but it doesn’t work. Then, I tried to install the unstable version of dynare to support this command. This version doesn’t work at all with this error:

Error using check\_matlab\_path (line 103) You put all the dynare/matlab subfolders in matlab’s path! Only the dynare/matlab folder (without subfolders) should be in the path, Dynare will automatically add any required subfolders in the path. Error in dynare (line 60) check\_matlab\_path(change\_path\_flag)

I removed all the previous versions of dynare from set path. Yet it doesn’t work. How can I run this code? I will be glad if I could have your help.

---

<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:** [3 January 2017 14:30 UTC](https://forum.dynare.org/t/irf-calibration-command/5960/2 "2017-01-03T14:30:36Z")

</div>

This is still a path issue. Please make sure that you remove all paths to Dynare and then add only the matlab subfolder of the unstable version to your path.

---

<div class="post-metadata">

**Author:** ![hamideconomy80](https://forum.dynare.org/letter_avatar_proxy/v4/letter/h/ec9cab/32.png) [@hamideconomy80](https://forum.dynare.org/u/hamideconomy80)\
**Post date:** [26 February 2017 18:46 UTC](https://forum.dynare.org/t/irf-calibration-command/5960/3 "2017-02-26T18:46:47Z")

</div>

سلام  
بندهای زیر رو بردار از مدلت بعد اجرا که شد  
یکی یکی بهش بندهارو اضافه کن  
تا ببینی مشکل از کجاست  
مدلت اجرا میشه اما نمودار شوکه ات یکمی بده  
//irf\_calibration;  
//y(1:10), epsilon\_t\_w, -;  
//y(1:10), epsilon\_t\_k, -;  
//end;

---

<div class="post-metadata">

**Author:** ![narges1364](https://forum.dynare.org/letter_avatar_proxy/v4/letter/n/7bcc69/32.png) [@narges1364](https://forum.dynare.org/u/narges1364)\
**Post date:** [22 June 2017 00:07 UTC](https://forum.dynare.org/t/irf-calibration-command/5960/4 "2017-06-22T00:07:20Z")

</div>

سلام

بله مشکلم همینه که توابع عکس العمل آنی بسیار بد هستند. حتی در بسیاری موارد کلا نتایج برعکسه.  
این کاری که فرمودید رو انجام دادم اما فایده ای نداره  
البته کمی مدل رو تغییر دادم اما باز هم نمی تونم روابط صحیح بین متغیرها رو استخراج کنم. و برای این دستور باز هم با همون خطا مواجهم.
