#!/bin/bash if [ $# -lt 1 ] ; then echo "Usage $0 patientID \(2SMobr\) \(nclass\) \(realizationId\)" exit 0; fi; SDIR=`dirname $0`; PATIENTID=$1; NCLASS=10 if [ $# -gt 1 ] ; then NCLASS=$2; fi; ID=0; if [ $# -gt 2 ] ; then ID=$3; fi; . $SDIR/env.sh #$SDIR/loadLabkeyData.sh $PATIENTID; $MATLAB -sd $MATLABSCRIPTDIR -batch "patientID='${PATIENTID}'; nclass='${NCLASS}'; realizationId='${ID}'; analyzeIVF" >& ~/logs/dynamicSPECT.log; #$SDIR/writeLabkeyData.sh $PATIENTID; #$SDIR/removeData.sh $PATIENTID;