"Too many input arguments."

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

"Too many input arguments."

Postby nall03 » Fri Dec 18, 2015 9:57 am

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) ;"
Attachments
rbc_fiscal4_simul.mod
(4.08 KiB) Downloaded 152 times
nall03
 
Posts: 2
Joined: Wed Nov 19, 2014 5:13 am

Re: "Too many input arguments."

Postby jpfeifer » Sat Dec 19, 2015 9:26 am

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
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: "Too many input arguments."

Postby nall03 » Sat Dec 19, 2015 1:57 pm

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.
nall03
 
Posts: 2
Joined: Wed Nov 19, 2014 5:13 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 8 guests