Commit b7831cf1aab6c12dd8746395ef536193c69639fe

Authored by bmarechal
1 parent 267f6d3228
Exists in master

use -text instead of -ascii in save command

Showing 4 changed files with 4 additions and 4 deletions Side-by-side Diff

... ... @@ -52,7 +52,7 @@
52 52 if arg_save ==1
53 53 filenameout = strcat(strsplit(filename,'.'){1},'-',num2str(col(i)),'.sig')
54 54 datatosave = horzcat(tau', ad', err');
55   - save('-ascii', filenameout , 'datatosave');
  55 + save('-text', filenameout , 'datatosave');
56 56 end
57 57 end
58 58 legend(leg)
... ... @@ -34,7 +34,7 @@
34 34 if arg_save ==1
35 35 filenameout = strcat(strsplit(filename,'.'){1},'-cov-',num2str(col1),num2str(col2),'.sig')
36 36 datatosave = horzcat(tau', ad', err');
37   - save('-ascii', filenameout , 'datatosave');
  37 + save('-text', filenameout , 'datatosave');
38 38 end
39 39 end
40 40 legend(leg)
... ... @@ -30,6 +30,6 @@
30 30 for i = [1:length(col)]
31 31 tosave = horzcat(tosave, ad_tosave{i});
32 32 end
33   -save('-ascii', strcat(strsplit(filename, '.'){1}, '_ad.dat'), 'tosave');
  33 +save('-text', strcat(strsplit(filename, '.'){1}, '_ad.dat'), 'tosave');
34 34 end
... ... @@ -32,6 +32,6 @@
32 32 for i = [1:length(col)]
33 33 tosave = horzcat(tosave, ad_tosave{i});
34 34 end
35   -save('-ascii', strcat(strsplit(filename, '.'){1}, '_ad.dat'), 'tosave');
  35 +save('-text', strcat(strsplit(filename, '.'){1}, '_ad.dat'), 'tosave');
36 36 end