Error in osr output

Hi Michel,
This time using Dynare snapshot version 4, when I run the the sample code in the DynareWiki, in this link: cepremap.cnrs.fr/DynareWiki/OptimalPolicy
The following error comes:

??? Attempt to execute SCRIPT osr as a function.

Why cannot I run even the sample codes?
Any reply will be greatly appreciated!

Hi,

This message generally means that you have a file called “osr.m” in your path, which overrides the osr.m provided by Dynare.

You should therefore check that you don’t have created such a custom “osr.m” script, and rename it if this is the case. You should also check your path settings and remove unnecessary directories.

Best

Sébastien