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