Andreasen PruningPacckage4.4. error


Dear ALL,

I am running RBCmodel mode from the pruningPackage4.4 I have installed Dynare version 4.4.3 for this purpose. Though I am using version 4.5.7. I used setpath in MATLAB and put PruningPackage in the subfolder when the I run RBCmodel model file. I get the following error:
tarting Dynare (version 4.4.3).
Starting preprocessing of the model file …
Found 5 equation(s).
Evaluating expressions…done
Computing static model derivatives:

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

Error using legend (line 261)
Error setting property ‘Orientation’ of class ‘Legend’:
‘horisontal’ is not a valid value. Use one of these values: ‘horizontal’ | ‘vertical’.
Error in plotImpulseResponseDynare (line 58)
legend({‘Approximation order = 1’,['Approximation order = ’
num2str(order_app)]},‘Orientation’,‘horisontal’,‘Location’,‘NorthEast’,‘EdgeColor’,[1 1 1]);
Error in RunDynarePruning (line 250)
Error in RBCmodel (line 154)
outDynare = RunDynarePruning(optPruning,oo_,M_,f_11);
Error in dynare (line 180)
evalin(‘base’,fname) ;


There is one typo in RunDynarePruning that, is horisontal shall be made to horizontal. It worked.