Page 1 of 1

"Too many input arguments."

PostPosted: Fri Dec 18, 2015 9:57 am
by nall03
Hi, could anybody help me to check my mod file?
The attached file is to implement a simple RBC model with public debt dynamics. I use some parameter values to pin down others in the "parameter setting" part. I use this method in some other mod files, and it's OK.
I think the codes are right, but when I run it, it shows:
"Error using log
Too many input arguments.

Error in rbc_fiscal4_simul (line 218)
theta0 = M_.params( 5 );

Error in dynare (line 180)
evalin('base',fname) ;"

Re: "Too many input arguments."

PostPosted: Sat Dec 19, 2015 9:26 am
by jpfeifer
Sorry, but I cannot replicate the issue with your file. I only get the message that the steady state is complex. It may be related to an older Matlab bug (present until at least 2014b). Could you please type
Code: Select all
feature accel off

into the Matlab command window and try again

Re: "Too many input arguments."

PostPosted: Sat Dec 19, 2015 1:57 pm
by nall03
jpfeifer wrote:Sorry, but I cannot replicate the issue with your file. I only get the message that the steady state is complex. It may be related to an older Matlab bug (present until at least 2014b). Could you please type
Code: Select all
feature accel off

into the Matlab command window and try again


It worked! Thank you so much Prof Pfeifer.