#! /bin/bash
#
#  My default matlab doesn't include the image processing toolbox.
#
#matlab -nodisplay -nosplash -nodesktop -batch \
#  "run('maple_data_test.m');exit;" > maple_data_test.txt
#
/usr/local/MATLAB/R2024b/bin/matlab -nodisplay -nosplash -nodesktop -batch \
  "run('maple_data_test.m');exit;" > maple_data_test.txt
if [ $? -ne 0 ]; then
  echo "Run error."
  exit
fi
#
echo "Normal end of execution."
