I've compiled dynare 4.2-unstable few weeks ago. The function dynare_simul has been changed (since previous 4.2 download)
Now it is not working as it seems to need 12 (!) inputs rather than the usual (min) 2.
The comment on the code still refers to
- Code: Select all
% SYNOPSIS
%
% [err, r] = dynare_simul(name, shocks)
% [err, r] = dynare_simul(name, prefix, shocks)
% [err, r] = dynare_simul(name, shocks, start)
% [err, r] = dynare_simul(name, prefix, shocks, start)
while later on you find
- Code: Select all
if nargout ~= 2 || nargin < 12
error('dynare_simul_ must have at least 12 input parameters and exactly 2 output arguments.');
end
Also, why does dynare_simul (old and new) give a seed to the simulation function?
Best
Gianni