Guest User

matlab script

a guest
Apr 5th, 2018
216
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2. matlab -nodisplay -nojvm -nosplash -nodesktop -r \
  3.       "try, run('/foo/bar/my_script.m'), catch, exit(1), end, exit(0);"
  4. echo "matlab exit code: $?"
RAW Paste Data