# Dynare internal m.files

**URL:** https://forum.dynare.org/t/dynare-internal-m-files/18033
**Category:** Dynare contributions and examples
**Created:** [4 May 2021 18:12 UTC](https://forum.dynare.org/t/dynare-internal-m-files/18033 "2021-05-04T18:12:33Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![nimra](https://forum.dynare.org/letter_avatar_proxy/v4/letter/n/59ef9b/32.png) [@nimra](https://forum.dynare.org/u/nimra)
#### Post date: [4 May 2021 18:12 UTC](https://forum.dynare.org/t/dynare-internal-m-files/18033/1 "2021-05-04T18:12:33Z")

</div>

Hi  
I am new to dynare. I already emailed several people but didnot get any response. Kindly tell me how to writhe the dynare. m file which is created by matlab.  
I found several error in that file. i am unable to resolve those errors and unable to findout on which sample we have to sort out the errors.

---

<div class="post-metadata">

### Author: ![DoubleBass](https://forum.dynare.org/user_avatar/forum.dynare.org/doublebass/32/17420_2.png) [@DoubleBass](https://forum.dynare.org/u/DoubleBass)
#### Post date: [5 May 2021 07:00 UTC](https://forum.dynare.org/t/dynare-internal-m-files/18033/2 "2021-05-05T07:00:56Z")

</div>

Hi nimra,

could you maybe be a bit more specific about your problem?

---

<div class="post-metadata">

### Author: ![nimra](https://forum.dynare.org/letter_avatar_proxy/v4/letter/n/59ef9b/32.png) [@nimra](https://forum.dynare.org/u/nimra)
#### Post date: [6 May 2021 14:49 UTC](https://forum.dynare.org/t/dynare-internal-m-files/18033/3 "2021-05-06T14:49:51Z")

</div>

yes i am runing my mod file but my dynare .m file gives an error. I am attaching my mod file kindly see the results. and send me dynare internal.m file if possible. so that i can figure out my mistake in internal file  
[  
[thesiscod.mod](https://forum.dynare.org/uploads/short-url/SOTcpUNdRClV34g7Lpu0nNywPk.mod) (3.7 KB)  
](https://)

---

<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: [7 May 2021 07:06 UTC](https://forum.dynare.org/t/dynare-internal-m-files/18033/4 "2021-05-07T07:06:53Z")

</div>

It’s supposed to be

```auto
stoch_simul

```

not

```auto
stoch_stimul

```
