Comparing two codes

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

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

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 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