twrite matlab output to status file - cosmo - front and backend for Markov-Chain Monte Carlo inversion of cosmogenic nuclide concentrations
(HTM) git clone git://src.adamsgaard.dk/cosmo
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 16e5c38702a42f599952f1ab3b5ba2bdbf4a4c82
(DIR) parent 8b2000febc8d59707b7e03f64e1283ed49a99e17
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Tue, 29 Sep 2015 12:04:24 +0200
write matlab output to status file
Diffstat:
M matlab/file_scanner_mcmc_starter.m | 7 +++++++
1 file changed, 7 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/matlab/file_scanner_mcmc_starter.m b/matlab/file_scanner_mcmc_starter.m
t@@ -8,6 +8,7 @@
%% folder and file configuration
% folder containing input files from web interface ("uploadhistory.php")
+% and status file
infolder = '/home/adc/cosmo/input';
% folder for generated plots
t@@ -56,6 +57,10 @@ while 1
% read full file name and path
infile = strcat(infolder, '/', infiles(i).name);
+ id = strsplit(infile, '_')(2);
+
+ diary(strcat(infolder, '/status_', id));
+
if debug
disp(infile);
end
t@@ -97,6 +102,8 @@ while 1
%delete(infile)
movefile(infile, archivefolder);
+ diary off;
+
%keyboard
end