Problem with Simultaneous Shocks

main_exogenous_all.m (127 Bytes)
model.mod (8.9 KB)
model_steadystate.m (305 Bytes)
model_ss.m (3.0 KB)
param_save.m (1.8 KB)
param_ss.m (2.2 KB)

Hello Dr. Pfeiffer,

This code runs ok. The m file to run it is main_exogenous_all. It computes the SS and IRFs ok. The problem is that when I try to run simulataneuos shocks with the RBC news code that you provided (it works perfect for my other files), in this code it says "Error using simult_
Too many input arguments.

Error in model (line 606)
finalirf = simult_(M_,options_,initial_condition_states,oo_.dr,shock_matrix,1);

Error in dynare (line 235)
evalin(‘base’,fname) ;
"

Do you have any clue about this error?

Thank you

You need to upgrade your Dynare version. The following should work in Dynare 5:
model20.mod (8.9 KB)
model20_steadystate.m (310 Bytes)

Thank you, Professor. It works now.