Mercurial > hg > camir-aes2014
view core/magnatagatune/tests_evals/rbm_subspace/logging.m @ 0:e9a9cd732c1e tip
first hg version after svn
author | wolffd |
---|---|
date | Tue, 10 Feb 2015 15:05:51 +0000 |
parents | |
children |
line wrap: on
line source
function logging( file,log_dat) % Log all values in data to the file % sontran2013 stt = exist(file,'file'); if stt == 0 data = zeros(0,0); else load(file); end data = [data;log_dat]; if exist('OCTAVE_VERSION') save('-mat-binary',file,'data'); else save(file,'data'); end end