Page 1 of 1

Comparing two codes

PostPosted: Sat Nov 28, 2009 6:04 am
by pakocica
Hi,

I edited code of the Dynare 4.0.3 function PosteriorIRF.m. I want to install Dynare 4.0.4 but keep my upgrade of the PosteriorIRF.m function. So that I need to compare these functions in the two different versions of Dynare. Can you recommend me some free software which would be convenient for this?

Best,

Pavel

Re: Comparing two codes

PostPosted: Tue Dec 01, 2009 8:26 pm
by MichelJuillard
My recommendation is to install different versions of Dynare in different subdirectories. You can then choose wich version of Dynare you want to use with Matlab's addpath command.

For comparing code, look at diff in the Cygwin suite of Unix like utilities.

Best

Michel

Re: Comparing two codes

PostPosted: Sun Dec 06, 2009 4:36 pm
by pakocica
Dear Michel,

thank you for your suggestion! I have installed Cygwin, but now I need to learn how to use it. I could not find any good documentation on cygwin.com (namely http://cygwin.com/cygwin-ug-net/ov-ex-win.html). Can you recommend me where I can learn how to start? Are the commands in cygwin identical with those in UNIX?

Best,

Pavel