from Dynare v3 to Dyanre v4.0.3
Posted: Tue Jun 09, 2009 1:02 pm
I downloaded the version 4. I tried this new version with the file which is able to run in version. However, version 4 couldn't run the end part of the file which has the codes:
statistic1 = 100*sqrt(diag(oo_.var(1:10,1:10)))./oo_.mean(1:10);
table('Relative standard deviations in %',strvcat('VARIABLE','REL. S.D.'),lgy_(1:10,:),statistic1,10,10,4)
And Dyanre version 4 showed the error information:
??? Error using ==> rdivide
Matrix dimensions must agree.
Error in ==> model0_hansen at 122
statistic1 = 100*sqrt(diag(oo_.var(1:7,1:7)))./oo_.mean(1:7);
Error in ==> dynare at 102
evalin('base',fname) ;
When I installed version 4, I then go to Matlab/file/set path, add folder: C:\dynare_v4.0.3\matlab, and delete C:\dynare_v3. After running my personal file, there are two paths automatically in the set path, they are: C:\cynare_v4.0.3\matlab\AIM and C:|dynare_v4.0.3\matlab\..\mex\2007a. Is this normal?
I did not change any codes in the file. Just directly use the same file which works in version 3 and then it doesn't work in version 4 now.
Please give me suggestion, thank you.
statistic1 = 100*sqrt(diag(oo_.var(1:10,1:10)))./oo_.mean(1:10);
table('Relative standard deviations in %',strvcat('VARIABLE','REL. S.D.'),lgy_(1:10,:),statistic1,10,10,4)
And Dyanre version 4 showed the error information:
??? Error using ==> rdivide
Matrix dimensions must agree.
Error in ==> model0_hansen at 122
statistic1 = 100*sqrt(diag(oo_.var(1:7,1:7)))./oo_.mean(1:7);
Error in ==> dynare at 102
evalin('base',fname) ;
When I installed version 4, I then go to Matlab/file/set path, add folder: C:\dynare_v4.0.3\matlab, and delete C:\dynare_v3. After running my personal file, there are two paths automatically in the set path, they are: C:\cynare_v4.0.3\matlab\AIM and C:|dynare_v4.0.3\matlab\..\mex\2007a. Is this normal?
I did not change any codes in the file. Just directly use the same file which works in version 3 and then it doesn't work in version 4 now.
Please give me suggestion, thank you.