Page 1 of 1

Steady state problem

PostPosted: Thu Aug 21, 2014 6:10 am
by Econ
Hi all,
How do I combine the dynare code with the matlab steady states file ? (See attached files) the matlab file is not being recognized by dynare. The message I get is" inx "(the name of the steadystate file )is unknown .
How can I use the steadystate file in matlab in dynare. I am having the same problem with my model very similar to the one attached. I get a message : "The steadystate file did not compute the steady state" Any suggestion will be very appreciated....
Thank you,
PS: I tried different suggestions from the forum but nothing seems to work.

Re: Steady state problem

PostPosted: Thu Aug 21, 2014 6:47 am
by jpfeifer
I can run the attached files in Dynare 4.4.3 without any errors.

Your file is not a steady state file (you are using the steady_state_model-block for that). The inx.m is just an external Matlab file executed within a Dynare mod-file.

Re: Steady state problem

PostPosted: Thu Aug 21, 2014 6:50 am
by Econ
Thank you ...
Here is the message I get.
Undefined function 'inx' for input arguments of type 'cell'.
Error in exampleone (line 244)
icd=inx('cd',varo);
Error in dynare (line 180)
evalin('base',fname) ;

Any idea what it means?

Re: Steady state problem

PostPosted: Thu Aug 21, 2014 7:05 am
by jpfeifer
Type
which inx

It should show your uploaded file. If this is not the case, copy the inx.m in the folder where the mod-file is located.

Re: Steady state problem

PostPosted: Tue Oct 06, 2015 4:03 pm
by alba.delvillar
Hi, I have a similar question,
I am trying to run this mod file which contains the Dynare code for the solution procedure for asset holdings. ( Taken from Alan Sutherland website).
However, I obtain the same error as yours,
Undefined function 'inx' for input arguments of type 'cell'.
Error in Alansutherland (line 244)
icd=inx('cd',varo);
Error in dynare (line 180)
evalin('base',fname) ;

I cannot find the inx.m file so I cannot copy it in the folder where the mod file is located.
any help would be very welcome!
I have been looking around to find a solution...but nothing helps.
Thank you,

Re: Steady state problem

PostPosted: Wed Oct 07, 2015 9:35 am
by alba.delvillar
I have already solved the problem! the inx.m file was in another folder so I copied it where the mod file is located.

alba.delvillar wrote:Hi, I have a similar question,
I am trying to run this mod file which contains the Dynare code for the solution procedure for asset holdings. ( Taken from Alan Sutherland website).
However, I obtain the same error as yours,
Undefined function 'inx' for input arguments of type 'cell'.
Error in Alansutherland (line 244)
icd=inx('cd',varo);
Error in dynare (line 180)
evalin('base',fname) ;

I cannot find the inx.m file so I cannot copy it in the folder where the mod file is located.
any help would be very welcome!
I have been looking around to find a solution...but nothing helps.
Thank you,