Page 1 of 1

PROBLEM READING DATA FILE

PostPosted: Fri Jul 27, 2007 7:48 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) ;

The estimation part follows mod1a.mod, so I don't understand why the error pops up.

I'd really appreciate any help--thank you!

PostPosted: Sat Jul 28, 2007 9:31 am
by MichelJuillard
I need to see the *.mod file to be able to diagnose the problem.

Best

Michel

PostPosted: Sat Jul 28, 2007 3:30 pm
by nsouzas
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


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

Best

Michel