Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- matlab -nodisplay -nojvm -nosplash -nodesktop -r \
- "try, run('/foo/bar/my_script.m'), catch, exit(1), end, exit(0);"
- echo "matlab exit code: $?"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement