Page 1 of 1

Matlab 7.7.0 (R2008b) and dynare 4

PostPosted: Mon Sep 14, 2009 10:40 am
by winifred
Hi dear all

I am running the codes following:

statistic1 = 100*sqrt(diag(oo_.var(1:13,1:13)))./oo_.mean(1:13);
table('Relative standard deviations in %',strvcat('VARIABLE','REL. S.D.'),M_.endo_names(1:13,:),statistic1,13,10,4)
statistic2 = 100*sqrt(diag(oo_.var(1:13,1:13)));
table('standard deviations in %',strvcat('VARIABLE','S.D.'),M_.endo_names(1:13,:),statistic2,13,8,4);


It is OK to do these calculation in my laptop with Matlab 7.6.0 (R2008a). But it does not work in my office's computer which is updated recently. and after updated, i set path for dynare and start to run these codes, but it failed. Here is the error message:

??? Undefined function or method 'table' for input arguments of type 'char'.

Error in ==> testutility15 at 171
table('Relative standard deviations in %',strvcat('VARIABLE','REL.
S.D.'),M_.endo_names(1:13,:),statistic1,13,10,4)

Error in ==> dynare at 102
evalin('base',fname) ;



Does somebody also have faced this problem? Is it wrong with Matlab 7.7.0 or any other thing I should notice.


Thanks for helping!

Re: Matlab 7.7.0 (R2008b) and dynare 4

PostPosted: Mon Sep 14, 2009 11:40 am
by winifred
Hello

I found the answer for this problem! check this

viewtopic.php?f=2&t=2204&p=4345&hilit=table#p4345


Still thanks for this forum!