Comparing two codes

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Comparing two codes

Postby pakocica » Sat Nov 28, 2009 6:04 am

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
pakocica
 
Posts: 46
Joined: Fri Nov 27, 2009 6:42 pm
Location: Taiwan (come from Prague)

Re: Comparing two codes

Postby MichelJuillard » Tue Dec 01, 2009 8:26 pm

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
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am

Re: Comparing two codes

Postby pakocica » Sun Dec 06, 2009 4:36 pm

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
pakocica
 
Posts: 46
Joined: Fri Nov 27, 2009 6:42 pm
Location: Taiwan (come from Prague)


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 10 guests