Bayesian estimation with Dynare 4, Matlab 2008a and 2007b

Dynare Bayesian estimaiton version 4 does not run with matlab release 2008a.
With 2007b, for Bayesian estimaiton, I got most of the work dons, but at the end, received the following error message. Any help?

??? Undefined function or method ‘PosteriorMomentsVarendo’ for input arguments of type ‘char’.

Error in ==> dynare_estimation at 903
PosteriorMomentsVarendo(‘posterior’);

Error in ==> SG_BayesianSVAR at 252
dynare_estimation(var_list_);

Error in ==> dynare at 81
evalin(‘base’,fname) ;