Commit 19c4cc25 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

MS-SBVAR: Octave compatibility fix (add missing filename extensions, not added...

MS-SBVAR: Octave compatibility fix (add missing filename extensions, not added automatically under Octave)
parent aa130665
......@@ -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
......
......@@ -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');
......
......@@ -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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment