How to see the source codes of 'dynare_m.exe'?
Posted:
Tue Nov 13, 2012 1:36 pm
by flyingpig
Hi, I am considerabily curious to know the source codes of 'dynare_m.exe'. Is there any way to read the source codes of it? Is it complied by C or MATLAB? Thanks!
Re: How to see the source codes of 'dynare_m.exe'?
Posted:
Tue Nov 13, 2012 1:56 pm
by peter487
For the source code see
https://www.dynare.org/trac/browser/preprocessorFor some info see preprocessor.pdf shipped with Dynare (in the doc folder)
Re: How to see the source codes of 'dynare_m.exe'?
Posted:
Tue Nov 13, 2012 5:49 pm
by HoutanBastani
You can also download a nightly source snapshot here
http://www.dynare.org/snapshot/source/. The preprocessor subdirectory contains the C++ code that is compiled into dynare_m.
Re: How to see the source codes of 'dynare_m.exe'?
Posted:
Thu Nov 29, 2012 1:21 pm
by flyingpig
HoutanBastani wrote:You can also download a nightly source snapshot here
http://www.dynare.org/snapshot/source/. The preprocessor subdirectory contains the C++ code that is compiled into dynare_m.
Hi, thanks for the answer. I have one more question, is the data flow mainly run by
dynare_m.exe, I mean this cpp execution file connection all Matlab functions together? Is any computation part written in this file?
Re: How to see the source codes of 'dynare_m.exe'?
Posted:
Wed Jan 09, 2013 4:45 pm
by SébastienVillemot
The only significant computation done in the preprocessor is the computing of analytical derivatives of the model equations. The rest of the preprocessor is essentially about parsing the MOD file and making various checks.
The rest of the computation is done either in M-files, or in MEX-files.
Re: How to see the source codes of 'dynare_m.exe'?
Posted:
Fri Jun 21, 2013 5:37 am
by simpak
flyingpig wrote:Hi, I am considerabily curious to know the source codes of
'dynare_m.exe'. Is there any way to read the source codes of it? Is it complied by C or MATLAB? Thanks!
I am curious too, to know the source codes of dynare_m.exe