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 yy1985 » Thu Feb 13, 2014 7:58 am

Dear Everyone:
When I running the [dsgevar_forward_calibrate_lambda.mod ] file in dynare,
I'm in trouble, don't know how to solve it. it is coming up with the following
message:

??? Error using ==> pie
Not enough input arguments.

Error in ==> read_variables at 72
dyn_tmp_01 = eval(var_names_01(dyn_i_01,:));

Error in ==> initialize_dataset at 32
rawdata = read_variables(datafile,varobs,[],xls.sheet,xls.range);

Error in ==> dynare_estimation_init at 347
dataset_=initialize_dataset(options_.datafile,options_.varobs,options_.first_obs,options_.nobs,transformation,options_.prefilter,xls);

Error in ==> dynare_estimation_1 at 59
[dataset_,xparam1,M_,options_,oo_,estim_params_,bayestopt_]=dynare_estimation_init (var_list_, dname, [], M_, options_, oo_, estim_params_, bayestopt_);

Error in ==> dynare_estimation at 70
dynare_estimation_1(var_list,dname);

Error in ==> dsgevar_forward_calibrate_lambda at 235
dynare_estimation(var_list_);

Error in ==> dynare at 120
evalin('base',fname) ;

I really hope someone can help me to explain what's gone wrong?
Thanks
Yun
2014-2-13

the dsgevar_forward_calibrate_lambda.mod file attachment as follows:
Attachments
dsgevar_forward_calibrate_lambda.mod
(3.04 KiB) Downloaded 75 times
yy1985
 
Posts: 27
Joined: Thu Feb 13, 2014 2:56 am

Re: Not enough input arguments

Postby jpfeifer » Thu Feb 13, 2014 9:09 am

This is a naming conflict with Matlab's function "pie" for producing pie charts. The easiest solution would be to just rename the variable.
------------
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 yy1985 » Thu Feb 13, 2014 11:25 am

Dear professor pfeifer:
thank you very much for your help me to solve this problems! Under the guidance of you,I know how to solve it.
best wishes to you!
yun
2014-2-13
yy1985
 
Posts: 27
Joined: Thu Feb 13, 2014 2:56 am

Re: Not enough input arguments

Postby jpfeifer » Fri Feb 14, 2014 10:57 am

The fundamental problem was a path conflict, see http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=5351
------------
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 yy1985 » Fri Feb 14, 2014 11:06 am

Thank you very much,dear professor pfeifer!
yun
yy1985
 
Posts: 27
Joined: Thu Feb 13, 2014 2:56 am


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 7 guests