#!/bin/sh if [ "$ARCH" == "Linux" ]; then /mnt/prince-data/MATLAB/$MATLAB_VER/bin/./matlab -nodesktop -nosplash < test/testAll.m fi # exit status CODE=$? exit $CODE