# Errors when running example mod

**URL:** <https://forum.dynare.org/t/errors-when-running-example-mod/34>\
**Category:** Dynare help (legacy posts)\
**Created:** [5 February 2006 07:45 UTC](https://forum.dynare.org/t/errors-when-running-example-mod/34 "2006-02-05T07:45:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![xl1](https://forum.dynare.org/letter_avatar_proxy/v4/letter/x/8797f3/32.png) [@xl1](https://forum.dynare.org/u/xl1)\
**Post date:** [5 February 2006 07:45 UTC](https://forum.dynare.org/t/errors-when-running-example-mod/34/1 "2006-02-05T07:45:42Z")

</div>

Hi,  
Ramst works, but exampl1 and example2 give me following error messages:

Unable to load mex file: C:\dynare\_v3\matlab\gensylv.dll.  
The specified procedure could not be found.

??? Invalid MEX-file

Error in ==\> C:\dynare\_v3\matlab\dr1.m  
On line 443 ==\> dr.ghxx = gensylv(2,A,B,C,D);

Error in ==\> C:\dynare\_v3\matlab\resol.m  
On line 48 ==\> [dr,info] = dr1(dr,check\_flag);

Error in ==\> C:\dynare\_v3\matlab\stoch\_simul.m  
On line 46 ==\> [dr\_, info] = resol(ys\_,0);

Error in ==\> C:\dynare\_v3\matlab\example2.m  
On line 109 ==\> info=stoch\_simul(var\_list\_);

Error in ==\> C:\dynare\_v3\matlab\dynare.m  
On line 25 ==\> evalin(‘base’,fname) ;

I am using Dynare v3.062, my matlab is 6.1. I don’t know where the problem is.

Thanks

---

<div class="post-metadata">

**Author:** ![iacobellisf](https://forum.dynare.org/letter_avatar_proxy/v4/letter/i/22d042/32.png) [@iacobellisf](https://forum.dynare.org/u/iacobellisf)\
**Post date:** [6 February 2006 20:46 UTC](https://forum.dynare.org/t/errors-when-running-example-mod/34/2 "2006-02-06T20:46:39Z")

</div>

Hi,

I had the same problem since i was running Matlab 6.1 as well. Talkng to Michel he suggested me to remove gensylv.dll from the Dynare library, since it will then use other files to run the computations, and it worked indeed.

Let me know if you still have problems since it took me quite a while to run dynare with Matlab 6.1 and now it is working.

Best,

Fabrizio

---

<div class="post-metadata">

**Author:** ![xl1](https://forum.dynare.org/letter_avatar_proxy/v4/letter/x/8797f3/32.png) [@xl1](https://forum.dynare.org/u/xl1)\
**Post date:** [7 February 2006 10:58 UTC](https://forum.dynare.org/t/errors-when-running-example-mod/34/3 "2006-02-07T10:58:55Z")

</div>

Thanks Fabrizio.

I deleted “gensylv.dll” as you said. But there was still some minor problem when running example1. I ended up deleting “asamin.dll” as well. Now all the examples seem to work well.

---

<div class="post-metadata">

**Author:** ![Klaus\_Vondra](https://forum.dynare.org/letter_avatar_proxy/v4/letter/k/ba8739/32.png) [@Klaus\_Vondra](https://forum.dynare.org/u/Klaus_Vondra)\
**Post date:** [20 May 2006 09:59 UTC](https://forum.dynare.org/t/errors-when-running-example-mod/34/4 "2006-05-20T09:59:07Z")

</div>

Thanks Fabrizio!

I also had this problem, but I deleted gensylv.dll and now dynare runs !!! 😃😃😃

Klaus
