Hi,
The “table” function has been renamed to “dyntable” in Dynare 4.0.4. This was necessary because this created a name conflict with the “table” function shipped with Octave.
Replacing “table” by “dyntable” in your code should fix the problem.
Best,