diff --git a/matlab/dynare_version.m b/matlab/dynare_version.m
index e6990d3b9966411580e16d3bd11852b07ca37bef..63376e8eb45a78bfe28d1bc2161c0ebfb56f81da 100644
--- a/matlab/dynare_version.m
+++ b/matlab/dynare_version.m
@@ -29,4 +29,4 @@ function dynare_version
 % You should have received a copy of the GNU General Public License
 % along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
 
-    return '4-Prerelease'
+    return '4.0rc1'
diff --git a/windows/dynare.nsi b/windows/dynare.nsi
index 352bd20bb58d29831a98c95bbbb3173bf0e353e9..d57d4c96c57588d2148c0e37b81676c10e616694 100644
--- a/windows/dynare.nsi
+++ b/windows/dynare.nsi
@@ -10,7 +10,7 @@
 # - run "makensis dynare.nsi" to create the installer
 # - if there is no failure, this will create a file "dynare-VERSION-win32.exe" in the current directory
 
-!define VERSION "4.svn20080629"
+!define VERSION "4.0rc1"
 
 Name "Dynare ${VERSION}"