#! /bin/bash
#
matlab -nodisplay -nosplash -nodesktop -batch \
  "run('pariomino_test.m');exit;" > pariomino_test.txt
if [ $? -ne 0 ]; then
  echo "Run error."
  exit
fi
#
echo "Normal end of execution."
