Set MATLAB® Runtime options, such as -nojvm
, -nodisplay
,
or -logfile
by performing either of the following
tasks.
Using the Additional Runtime Settings area of the compiler apps.
Using the mcc
command, specify
the -R
switch.
In the Additional Runtime Settings area of the compiler apps, you can set the following options.
Not all options are available for all compilation targets.
Set MATLAB Runtime Startup Options Using the Compiler Apps
MATLAB Runtime Startup Option | This option... | Set the options by... |
---|---|---|
-nojvm | Disables the Java® Virtual Machine (JVM™), which is enabled by default. This can help improve the MATLAB Runtime performance. | Select the No JVM checkbox. |
-nodisplay | On Linux®, launches the MATLAB Runtime without display functionality. | In the Settings box, enter -R
-nodisplay . |
-logfile | Writes information about the MATLAB Runtime startup to a logfile. | Select the Create log file checkbox. Enter the path to the logfile, including the logfile name, in the Log File box. |
When you use the command line, specify the -R
switch
to invoke the MATLAB Runtime startup options you want to use.
Following are examples of using mcc -R
to
invoke -nojvm
, -nodisplay
, and -logfile
when
building a C standalone (designated by the -m
switch).