How can I display the exit status of a compiled MATLAB application run from a shell script on Linux?
Show older comments
When running a MATLAB application compiled with MATLAB Compiler from a shell script on Linux, does the exit status set by the "exit(N)" function automatically appear in the standard output or standard error? If not, how can I display or log the exit status after execution?
Example Shell Script:
#!/bin/bash
./compiled_matlab_app
Accepted Answer
More Answers (0)
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!