| tadd first version of matlab watch script - cosmo - front and backend for Marko… | |
| git clone git://src.adamsgaard.dk/cosmo | |
| Log | |
| Files | |
| Refs | |
| README | |
| LICENSE | |
| --- | |
| commit f1e0c6e141b76c56305155587973ee9f754a99ae | |
| parent 982f00e2b0310c64d936c510845917e80a19489c | |
| Author: Anders Damsgaard <[email protected]> | |
| Date: Mon, 17 Aug 2015 14:25:25 +0200 | |
| add first version of matlab watch script | |
| Diffstat: | |
| A matlab/file_scanner_mcmc_starter.m | 15 +++++++++++++++ | |
| A matlab/run.sh | 3 +++ | |
| 2 files changed, 18 insertions(+), 0 deletions(-) | |
| --- | |
| diff --git a/matlab/file_scanner_mcmc_starter.m b/matlab/file_scanner_mcmc_star… | |
| t@@ -0,0 +1,14 @@ | |
| +% folder of input files | |
| +infolder = '~/src/cosmo/matlab'; | |
| + | |
| +% infinite loop | |
| +while 1 | |
| + | |
| + infile = 'testinput.txt'; | |
| + | |
| + if exist([infolder, '/', infile], 'file') == 2 | |
| + disp('file exists') | |
| + break | |
| + end | |
| + | |
| +end | |
| +\ No newline at end of file | |
| diff --git a/matlab/run.sh b/matlab/run.sh | |
| t@@ -0,0 +1,3 @@ | |
| +#!/bin/bash | |
| +/Applications/MATLAB_R2014b.app/bin/matlab -nodesktop -nosplash -nodisplay \ | |
| + -nojvm -r "run('file_scanner_mcmc_starter.m')" |