Page 1 of 1

error in osr output

PostPosted: Mon Jul 07, 2008 11:23 am
by haroun
Hi Michel,
This time using Dynare snapshot version 4, when I run the the sample code in the DynareWiki, in this link: http://www.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!

PostPosted: Sun Jul 13, 2008 8:22 am
by SébastienVillemot
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