Page 1 of 1
Error in metroplis.m
Posted:
Wed Feb 01, 2006 9:07 am
by bamba
Hi,
i use Matlab 6.1, estimating a model with bayesian approach, Matlab announces an error in metropolis.m at line 1463 (line 1463 of this function is subindx=subset();)
best regards
Posted:
Wed Feb 01, 2006 10:12 am
by StephaneAdjemian
Dear user,
The problem is with your version of matlab which does not accept functions with empty arguments. This works fine with version 7 of matlab but not with previous ones. All you've got to do when you find this kind of error message is first to replace :
subindx=subset();
by
subindx=subset;
and second to edit the corresponding m file and change the first line
function jndx = subset();
for
function jndx = subset;
We will correct these little annoying bugs in the next release of dynare (some are already corrected but we have to find them all!) .
Best,
St
Posted:
Thu Feb 02, 2006 9:21 am
by bamba
hi stephane,
thank a lot
kind regards
Posted:
Tue Mar 07, 2006 9:04 am
by gclian
I use Matlab 6.5 and dynare v3.064. This problem still exists. After removing "()" of the " subindx=subset()" and "function jndx=subset()". This problem disappers. Thanks.