I have a simulink project that uses startup shortcuts. When running Matlab and Simulink in GUI mode, I can see a dialog box open and it says "Running startup shortcuts:" and it lists all of the shortcut scripts that are run after opening the project. When they are successful there is a little green check mark and if they fail there is a red X and a "Details..." button. I can click the Details button to get a error message if a script fails to complete.
When I open matlab in text only mode (matlab -nodisplay) and open my project using simulinkproject('MyProject.prj'), I cannot tell if the startup shortcuts are successful or not. There doesn't seem to be a way to detect if a script completes successfully or fails.
How can I can if the startup scripts are successful?