Dynare Noob - Unable to run Vanilla RBC model!

I tried to run the vanilla RBC model given on Dynare’s website but MATLAB is giving me error always! Desperately need help! Dont know how to proceed. :cry: :cry: :cry:

dynare rbc.mod

Configuring Dynare …
[mex] Generalized QZ.
[mex] Sylvester equation solution.
[mex] Kronecker products.
[mex] Sparse kronecker products.
[mex] Local state space iteration (second order).
[mex] Bytecode evaluation.
[mex] k-order perturbation solver.
[mex] k-order solution simulation.
[mex] Quasi Monte-Carlo sequence (Sobol).
[mex] Markov Switching SBVAR.

Starting Dynare (version 4.4.3).
Starting preprocessing of the model file …
Found 7 equation(s).
Evaluating expressions…done
Computing static model derivatives:

  • order 1
    Computing dynamic model derivatives:
  • order 1
    Processing outputs …done
    Preprocessing completed.
    Starting MATLAB/Octave computing.

Undefined function ‘dates’ for input arguments of type ‘double’.

Error in global_initialization (line 347)
options_.initial_period = dates(1,1);

Error in rbc (line 15)

Error in dynare (line 180)
evalin(‘base’,fname) ;
rbc.mod (1.39 KB)

This looks like a path problem. Try reinstalling Dynare.