Error message for steady state file - Dot indexing is not supported for variables of this type


I want to run run a mod-file based on the paper “Gauging the effects of fiscal stimulus packages in the euro area” from Coenen et al. 2012 (using the NAWM). I downloaded the original code from Mathias Trabandt here - Google Drive.

Now I want to update the code to run it with Dynare version 5.3.
One main point is to adapt the steady state file like suggested here

Unfortunately, the following error message occurs:

Dot indexing is not supported for variables of this type.

Error in NAWMDynare_steadystate (line 17)
for ii = 1:M_.param_nbr

Error in NAWMDynare.driver (line 2112)

Error in dynare (line 281)

  • evalin(‘base’,[fname ‘.driver’]);*

Could you help me, resolve the error?

Thank you!

Best regards
CSTcode - with (217.6 KB)

The reason is they altered the standard syntax of steady state files. Try
NAWMDynare.mod (35.6 KB)
NAWMDynare_steadystate.m (9.5 KB)

Thank you so very much!