# The error "Reference to non-existent field 'estimation\_dll'"

**URL:** <https://forum.dynare.org/t/the-error-reference-to-non-existent-field-estimation-dll/4273>\
**Category:** Dynare help (legacy posts)\
**Created:** [6 November 2014 11:54 UTC](https://forum.dynare.org/t/the-error-reference-to-non-existent-field-estimation-dll/4273 "2014-11-06T11:54:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![cnchenji](https://forum.dynare.org/letter_avatar_proxy/v4/letter/c/b9bd4f/32.png) [@cnchenji](https://forum.dynare.org/u/cnchenji)\
**Post date:** [6 November 2014 11:54 UTC](https://forum.dynare.org/t/the-error-reference-to-non-existent-field-estimation-dll/4273/1 "2014-11-06T11:54:23Z")

</div>

Today, when I run a program which was written a few weeks ago, the dynare prompts an error. In fact, this mod was run successfully, i just wanted to get the results estimated again.  
Sadly, i met the problem described as this topic’s subject.  
Through checking my mod file, i found the mod file is no problem. And then, i tried to run the examples of dynare package (fs2000.mod).  
Unfortunately, it prompts the same error information. Is there anybody to tell me the reason and solution for this problem? thanks…

runtime information:

## " … Improvement on iteration 28 = 0.000000717

* * *

## f at the beginning of new iteration, -1233.8174677131 Predicted improvement: 0.000000022 lambda = 1; f = -1233.8174678 lambda = 1.9332; f = -1233.8174678 lambda = 3.7372; f = -1233.8174677 lambda = 2.5164; f = -1233.8174678 Norm of dx 7.5779e-006

Improvement on iteration 29 = 0.000000075  
improvement \< crit termination  
Objective function at mode: -1233.817468  
??? Reference to non-existent field ‘estimation\_dll’.

Error in ==\> dsge\_likelihood at 145  
if DynareOptions.estimation\_dll

Error in ==\> hessian at 25  
fx = feval(f,x,varargin{:});

Error in ==\> dynare\_estimation\_1 at 620  
hh = reshape(hessian(objective\_function,xparam1, …

Error in ==\> dynare\_estimation at 89  
dynare\_estimation\_1(var\_list,dname);

Error in ==\> fs2000 at 222  
dynare\_estimation(var\_list\_);

Error in ==\> dynare at 180  
evalin(‘base’,fname) ;

…"  
[fsdat\_simul.m](https://forum.dynare.org/uploads/default/original/1X/a8d2a89adc434af0b7695c4ae69e586d7e691793.m) (6.43 KB)  
[fs2000.mod](https://forum.dynare.org/uploads/default/original/2X/a/a0ac001696c7bc5d6821059bed57386564b3cf6b.mod) (3.75 KB)

---

<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:** [6 November 2014 12:08 UTC](https://forum.dynare.org/t/the-error-reference-to-non-existent-field-estimation-dll/4273/2 "2014-11-06T12:08:27Z")

</div>

This sounds a lot like a version conflict. Try uninstalling and then reinstalling Dynare.

---

<div class="post-metadata">

**Author:** ![cnchenji](https://forum.dynare.org/letter_avatar_proxy/v4/letter/c/b9bd4f/32.png) [@cnchenji](https://forum.dynare.org/u/cnchenji)\
**Post date:** [6 November 2014 16:02 UTC](https://forum.dynare.org/t/the-error-reference-to-non-existent-field-estimation-dll/4273/3 "2014-11-06T16:02:35Z")

</div>

> [@jpfeifer](#):
>
> This sounds a lot like a version conflict. Try uninstalling and then reinstalling Dynare.

thanks for your help. i’ll try your method.

However, if it is a version conflict, there is still a question. why does the mod in the same environment get different result? The dynare version installed on my computer is 4.4.2. i have never installed other versions.

---

<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:** [6 November 2014 16:12 UTC](https://forum.dynare.org/t/the-error-reference-to-non-existent-field-estimation-dll/4273/4 "2014-11-06T16:12:22Z")

</div>

You must have changed something in the meantime. The field estimation\_dll is always set in global\_initialization.m and is already used during mode-finding, which did not crash. The is what makes it so strange and why I recommend reinstalling. This is a very spurious problem.

---

<div class="post-metadata">

**Author:** ![nmark](https://forum.dynare.org/letter_avatar_proxy/v4/letter/n/94ad74/32.png) [@nmark](https://forum.dynare.org/u/nmark)\
**Post date:** [19 August 2016 17:37 UTC](https://forum.dynare.org/t/the-error-reference-to-non-existent-field-estimation-dll/4273/5 "2016-08-19T17:37:07Z")

</div>

I am having the same problem. I have Dynare version 4.4.3. Estimation programs worked fine in February. Today I wanted to verify the results and ran the same \*.mod files I did in February, without modification and it doesn’t work. I get the message: Reference to non-existent field ‘estimation\_dll’.

I tried uninstalling Dynare and reinstalling as the post suggested, but the problem remains the same.  
I would like to mention that the exact same thing has happened on two different Mac computers. I reinstalled dynare on both computers, but the problem remains the same.  
Does anyone have any other suggestions, ideas?

Many thanks

PS Subsequent to posting, I installed version 4.4.2 and the problem is solved.

---

<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 August 2016 18:12 UTC](https://forum.dynare.org/t/the-error-reference-to-non-existent-field-estimation-dll/4273/6 "2016-08-19T18:12:39Z")

</div>

Strange. When reinstalling Dynare, did you clean the Matlab path from Dynare related settings?
