Check which version is running?

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.

Check which version is running?

Postby shwayder » Wed Nov 19, 2008 3:58 am

Is there an easy way, from within MATLAB to check which version of DYNARE is installed? I ask because I often use the DYNARE installation on a central server, so while I could reinstall the latest version in my home directory it's a bit of a pain, so I wanted to see what version is currently running before I go about trying to do that.

Thanks!
shwayder
 
Posts: 7
Joined: Wed May 14, 2008 2:28 am
Location: Northwestern University

Re: Check which version is running?

Postby MichelJuillard » Wed Nov 19, 2008 9:24 pm

I use
which dynare
at the Matlab prompt. It shows the path to the dynare directory

Recent versions of Dynare have command
dynare_version
that returns Dynare version number

Best

Michel
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am

Re: Check which version is running?

Postby ripatti » Thu Nov 20, 2008 12:44 pm

The following function does the job both in dynare 3 and 4:
Code: Select all
function isit = isDynare4
global endo_nbr;

isit = isempty(endo_nbr);
ripatti
 
Posts: 59
Joined: Mon Jan 16, 2006 6:28 am
Location: Helsinki


Return to Dynare help

Who is online

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