Skip to content
Snippets Groups Projects
Commit a2133489 authored by Lemmer, Jan's avatar Lemmer, Jan
Browse files

fix bug

parent 0a721ab4
No related branches found
No related tags found
2 merge requests!13PreRelease_V0.1,!12PreRelease_V0.1
Pipeline #561460 failed
......@@ -2,9 +2,17 @@
LOGFILE=log.txt
"C:\Program Files\MATLAB\R2021b\bin\matlab.exe" -nodesktop -nosplash -minimize -wait -logfile "$LOGFILE" -r 'runner_test';
CODE=$?
"C:\Program Files\MATLAB\R2021b\bin\matlab.exe" -nodesktop -nosplash -nodesktop -logfile "$LOGFILE" -r "runner_test;exit(ans);"
cat "$LOGFILE"
exitstatus=$?
if [[ $exitstatus -eq '0' ]]
then
echo "matlab succed. Exit status: $exitstatus"
exit $exitstatus
else
echo "matlab failed. Exit status: $exitstatus"
exit $exitstatus
fi
exit $CODE
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment