not enough 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.

not enough input arguments

Postby masterth » Fri Dec 12, 2014 9:31 am

Hi,

I want to alter an excisting mod file for further evaluation of the model. The problem is that the excisting mod file is not running on my Computer. The originator mentioned that on his computer everything would run well. I use matlab 2014a and dynare 4.4.3.
The error message is

Error using check_model (line 20)
Not enough input arguments.

Error in stoch_simul (line 65)
check_model;

Error in fbc1 (line 678)
info = stoch_simul(var_list_);

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

but I checked multiple times the amount of endogenous variables and equations. There are as many variables as equations.
Attachments
fbc1_steadystate.m
(4.54 KiB) Downloaded 51 times
fbc1.mod
(10.63 KiB) Downloaded 81 times
masterth
 
Posts: 5
Joined: Fri Dec 12, 2014 9:12 am

Re: not enough input arguments

Postby jpfeifer » Fri Dec 12, 2014 12:34 pm

This sounds like a version conflict. The file runs on my machine. Try reinstalling Dynare and resetting the path. Also try
Code: Select all
which check_model

in Matlab to see which file was called.
------------
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: not enough input arguments

Postby masterth » Fri Dec 12, 2014 2:10 pm

Hello Mr. Pfeiffer,

I tried your proposal but it's still not working. I tried also the version where I've to set the path every time new, but no reaction.
I tried it with other mod files and dynare is doing well.

The command which check model I end on the path to dynare as explained in the instructions.
c:\dynare\4.4.3\matlab\check.m
masterth
 
Posts: 5
Joined: Fri Dec 12, 2014 9:12 am

Re: not enough input arguments

Postby jpfeifer » Fri Dec 12, 2014 2:24 pm

You must be doing something wrong. Searching for the file check_model.m cannot return check.m.
------------
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: not enough input arguments

Postby masterth » Sun Dec 14, 2014 1:55 pm

Thanks for help, now it's working. I tried it at my old laptop (windows vista, matlab 2013b, dynare 4.4.3). Strange that I did exactly the same as with the new staff. Could be the reason 8.1?
masterth
 
Posts: 5
Joined: Fri Dec 12, 2014 9:12 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 10 guests