Simple hansen model

Dear all

i solve hansen (1985) simple model in log line form. but when i run code, received following message:

Starting Dynare (version 4.3.3).
Starting preprocessing of the model file …
Found 6 equation(s).
Evaluating expressions…done
Computing static model derivatives:

  • order 1
    Computing dynamic model derivatives:
  • order 1
  • order 2
    Processing outputs …done
    Preprocessing completed.
    Starting MATLAB/Octave computing.

Linear Function:
Parameters: [1x1 struct]

what happened ??!!!
code in attachment.
please help if you can.
many thanks.

It runs on my machine. I seems to be a naming conflict, because it seems like your are having a function linear.m that is called. Try renaming your mod-file to something else.

Just change your mod file’s name. It will work.