When you roll out a COM component to end users, there are times when you should specify MATLAB® Runtime options to create a log file or improve performance.
Pass these options with mcc
.
-nojvm
— Runs MATLAB Runtime without a Java® Virtual Machine (JVM™). In some cases, it can improve performance of deployed
applications.
-logfile
— Allows you to
specify a log file name.
To specify MATLAB Runtime options, use following MWUtil
API calls: