Page 1 of 1

PROBLEM READING DATA FILE

PostPosted: Thu Aug 02, 2007 2:41 pm
by nsouzas
--------------------------------------------------------------------------------

I'm trying to estimate a simple New Keynesian model but get this error message when I try to run the file:

??? Error using ==> cell.strmatch
Requires character array or cell array of strings as inputs.

Error in ==> read_variables at 35
iv = strmatch(var_names_01(dyn_i_01,,raw(1,,'exact');

Error in ==> dynare_estimation at 170
rawdata = read_variables(options_.datafile,options_.varobs,[],options_.xls_sheet,options_.xls_range);

Error in ==> flexw at 129
dynare_estimation(var_list_);

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

-------------------------------------------------------------------------------------
MichelJuillard wrote:
I need to see the *.mod file to be able to diagnose the problem.

Best

Michel

-----------------------------------------------------------------------------------
Dear Juillard, thanks a lot for your reply.
I am attaching a better version of both the datafile and the *.mod file.
My best regards

Michel