diff --git a/matlab/ms-sbvar/cstz/csminwel.m b/matlab/ms-sbvar/cstz/csminwel.m index e0d6f5ee71ab126f5e49c690267eaa28dc72eaf7..920e8f3f55f3c588db6db250f00ba057017e2a7e 100644 --- a/matlab/ms-sbvar/cstz/csminwel.m +++ b/matlab/ms-sbvar/cstz/csminwel.m @@ -109,7 +109,7 @@ while ~done end wall1=badg1; % g1 - save g1 g1 x1 f1 varargin; + save g1.mat g1 x1 f1 varargin; %ARGLIST %save g1 g1 x1 f1 P1 P2 P3 P4 P5 P6 P7 P8 P9 P10 P11 P12 P13; end @@ -150,7 +150,7 @@ while ~done wall2=badg2; % g2 if dispIndx, badg2, end - save g2 g2 x2 f2 varargin + save g2.mat g2 x2 f2 varargin %ARGLIST %save g2 g2 x2 f2 P1 P2 P3 P4 P5 P6 P7 P8 P9 P10 P11 P12 P13; end @@ -183,7 +183,7 @@ while ~done wall3=badg3; % g3 if dispIndx, badg3, end - save g3 g3 x3 f3 varargin; + save g3.mat g3 x3 f3 varargin; %ARGLIST %save g3 g3 x3 f3 P1 P2 P3 P4 P5 P6 P7 P8 P9 P10 P11 P12 P13; end diff --git a/matlab/ms-sbvar/dyn_save_graph.m b/matlab/ms-sbvar/dyn_save_graph.m index d0e4a55e3d4b386ee2a6fdc89403ce6acd55cb96..1fcc0652731ece5e1b613773a0049eaf9fcdea78 100644 --- a/matlab/ms-sbvar/dyn_save_graph.m +++ b/matlab/ms-sbvar/dyn_save_graph.m @@ -42,7 +42,7 @@ function dyn_save_graph(dirname,graph_name,graph_formats,TeX,names,texnames,capt end if graph_formats.eps || TeX - print(graph_name,'-depsc2'); + print([ graph_name '.eps' ],'-depsc2'); end if graph_formats.pdf && ~exist(OCTAVE_VERSION) print(graph_name,'-dpdf'); diff --git a/matlab/ms-sbvar/msstart2.m b/matlab/ms-sbvar/msstart2.m index bca7b5085ae5d802801c8dbde21f3789769e5b2c..14bcab8e38076de6263faabf33c41bc884124ea1 100644 --- a/matlab/ms-sbvar/msstart2.m +++ b/matlab/ms-sbvar/msstart2.m @@ -333,7 +333,7 @@ if options_.ms.indxestima itct fcount retcodehat - save outm xhat A0hat A0hatinv grad fhat itct itct fcount retcodehat + save outm.mat xhat A0hat A0hatinv grad fhat itct itct fcount retcodehat end else %*** Obtain the posterior matrices for estimation and inference @@ -363,7 +363,7 @@ if options_.ms.indxestima itct fcount retcodehat - save outm xhat A0hat A0hatinv grad fhat itct itct fcount retcodehat + save outm.mat xhat A0hat A0hatinv grad fhat itct itct fcount retcodehat end end @@ -787,4 +787,4 @@ bhat =xhat; n0const=n0; % For constant parameter models. n0const=n0; % For constant parameter models. npconst=np; % For constant parameter models. -save outdata_a0dp_const A0hat bhat Aphat n0const +save outdata_a0dp_const.mat A0hat bhat Aphat n0const