To achieve both a splash screen and a console window in a MATLAB R2017a standalone application, consider these theoretical strategies:
- Custom Splash Screen: Instead of relying on built-in splash screen behavior, implement a splash screen directly in your application. This way, you have full control over when and how it appears, regardless of console settings.
- Runtime Options: Use the -R option in the mcc command to specify runtime behaviors. Experiment with different settings to manage console and graphical outputs. For instance, -R -nojvm can influence how GUI elements are handled.
- Separate Execution: If both elements cannot coexist due to limitations, consider launching the console and application separately. This can be done using a script or batch file to start both processes independently.
- Logging: If console output is primarily for debugging, consider redirecting output to a log file. This allows the splash screen to function without interference from the console.
These strategies allow for flexibility in managing both console and GUI elements in your application.