Argument type(s) for function

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.

Argument type(s) for function

Postby koji » Tue Apr 10, 2007 6:49 am

Hello,

I am solving macro mdoel and got the following error message.

>>>>>>>>>>>>>>>>>
--error 246
function not defined for given argument type(s)
Check arguments or define function %s_strcat for overloading
at line 10 of function mputl called by :
line 3 of function dyn_disp called by :
line 194 of function simk called by :
line 33 of function simul called by :
simul(0,0,0,0,0);
line 155 of exec file called by :
line 20 of function dynare called by :
dynare GEM52.mod
>>>>>>>>>>>>>>>>>

Are there problems in some arguments of functions, or in my model itself?
Attachments
GEM52.mod
(2.79 KiB) Downloaded 157 times
koji
 
Posts: 9
Joined: Wed Mar 29, 2006 8:09 am

Postby MichelJuillard » Fri Apr 13, 2007 7:24 am

Dear Koji,

which version of Scilab are you using?

Best

Michel
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am

Postby koji » Mon Apr 16, 2007 2:24 am

Dear Michel,

I am using Scilab-4.0.
koji
 
Posts: 9
Joined: Wed Mar 29, 2006 8:09 am

Postby MichelJuillard » Sat Apr 21, 2007 5:02 pm

We noticed that you are using expression like
C=i(+1)...

in the INITVAL block. It isn't permitted to use lead or lagged value of a variable in the INITVAL block.

Did you succeed in running Dynare under Scilab v. 4 with a simpler model?

Best

Michel
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am

Postby koji » Fri May 11, 2007 3:45 pm

Thank you for your suggestion (and sorry for my late response).
I dropped (+1) from initval block.
And I also found some mistakes in my model. Now it works.
koji
 
Posts: 9
Joined: Wed Mar 29, 2006 8:09 am


Return to Dynare help

Who is online

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