How can I compile a standalone MATLAB application with startup options (e.g. nojvm)?

12 views (last 30 days)
I would like a standalone application I am compiling to startup with software OpenGL. How can I accomplish this?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 2 May 2023
Edited: MathWorks Support Team on 3 May 2023
The startup options for a compiled application can be specified in the 'Settings' menu:
  1. Open the MATLAB Compiler window.
  2. Click the 'Settings' button in the toolstrip.
  3. Type '-R -softwareopengl' (without the single-quotes) in the text box towards the top.
More information about the MATLAB compiler can be found here:

More Answers (0)

Categories

Find more on Application Deployment in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!