Error message using estimation command

Hi all,

I have tried using the estimation command using Bayesian estimation procedure:

estimation(datafile=simu_example12,mh_replic=1500,mh_jscale=.7);

the datafile is based on a simulated data. But when I encounter the error (see below):

??? Reference to non-existent field ‘ghx’.

Error in ==> c:\dynare_v3.04\matlab\metropolis.m
On line 29 ==> MAX_nsmoo = ceil(MaxNumberOfBytes/((size(dr_.ghx,2)+dr_.nfwrd+dr_.nstatic)*gend)/8);

Error in ==> c:\dynare_v3.04\matlab\dynare_estimation.m
On line 640 ==> metropolis(xparam1,invhess,gend,data,rawdata,bounds);

Error in ==> C:\dynare_v3.04\examples\example12_est.m
On line 157 ==> dynare_estimation(var_list_);

Error in ==> c:\dynare_v3.04\matlab\dynare.m
On line 26 ==> evalin(‘base’,fname) ;

Any thoughts much appreciated.

Thanks so much.

Learning

this problem should have been solved in a more recent version.
Truy the snapshot of version 3

Best

Michel