Detect if Simulink Project Shortcuts fail when working without GUI

1 view (last 30 days)
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?

Answers (0)

Categories

Find more on Startup and Shutdown 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!