From b7831cf1aab6c12dd8746395ef536193c69639fe Mon Sep 17 00:00:00 2001 From: bma Date: Wed, 28 Nov 2018 09:30:11 +0100 Subject: [PATCH] use -text instead of -ascii in save command --- allanplot.m | 2 +- allanplot_cov.m | 2 +- temp2allan.m | 2 +- temp2oallan.m | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/allanplot.m b/allanplot.m index 87ba509..8490bfc 100755 --- a/allanplot.m +++ b/allanplot.m @@ -52,7 +52,7 @@ if length(col) == length(mult) if arg_save ==1 filenameout = strcat(strsplit(filename,'.'){1},'-',num2str(col(i)),'.sig') datatosave = horzcat(tau', ad', err'); - save('-ascii', filenameout , 'datatosave'); + save('-text', filenameout , 'datatosave'); end end legend(leg) diff --git a/allanplot_cov.m b/allanplot_cov.m index e444717..acccdec 100755 --- a/allanplot_cov.m +++ b/allanplot_cov.m @@ -34,7 +34,7 @@ if length(col1) == length(mult1) if arg_save ==1 filenameout = strcat(strsplit(filename,'.'){1},'-cov-',num2str(col1),num2str(col2),'.sig') datatosave = horzcat(tau', ad', err'); - save('-ascii', filenameout , 'datatosave'); + save('-text', filenameout , 'datatosave'); end end legend(leg) diff --git a/temp2allan.m b/temp2allan.m index d406150..ee67f64 100755 --- a/temp2allan.m +++ b/temp2allan.m @@ -30,5 +30,5 @@ tosave = tau'; for i = [1:length(col)] tosave = horzcat(tosave, ad_tosave{i}); end -save('-ascii', strcat(strsplit(filename, '.'){1}, '_ad.dat'), 'tosave'); +save('-text', strcat(strsplit(filename, '.'){1}, '_ad.dat'), 'tosave'); end diff --git a/temp2oallan.m b/temp2oallan.m index 038c5b0..bae198a 100755 --- a/temp2oallan.m +++ b/temp2oallan.m @@ -32,5 +32,5 @@ tosave = tau'; for i = [1:length(col)] tosave = horzcat(tosave, ad_tosave{i}); end -save('-ascii', strcat(strsplit(filename, '.'){1}, '_ad.dat'), 'tosave'); +save('-text', strcat(strsplit(filename, '.'){1}, '_ad.dat'), 'tosave'); end -- 2.16.4