I am running MATLAB scripts from the command line using the "-r" option. If the script fails I want MATLAB to exit and return a nonzero exit flag.
MATLAB: How to control the exit flag in MATLAB 7.6 (R2008a)
MATLAB
Related Question
- What is the difference between starting a MATLAB script from MATLAB or from a batch/shell script
- How to prevent or remove the asterisk annotations on the BAR plot in MATLAB 7.6 (R2008a)
- Do I receive an error when I execute an M-file in the Linux shell using the -r flag in MATLAB 7.11 (R2010b)
- How to build MEX files with the Intel® Visual Fortran version 11.1 compiler in MATLAB 7.6 (R2008a)
- Quit matlab from script without “Attempt to restart MATLAB? [y or n]”
- How to create a GRID uicontrol in GUIDE within MATLAB 7.6 (R2008a)
- Is the MATLAB startup option ‘-r’ not working properly on C UNIX Shell
- Do I receive a premature EOF error when reading certain frames QuickTime movies using the READ method of MMREADER in MATLAB 7.6 (R2008a)
Best Answer