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

36 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 17 Apr 2019
Edited: MathWorks Support Team on 17 Apr 2019
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:

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!