MATLAB Runtime Startup Options - MATLAB & Simulink (original) (raw)
Main Content
Set MATLAB Runtime Options
For a standalone executable, set MATLABĀ® Runtime options by using the mcc
command and specifying the-R
flag and arguments. For example, specify a log file.
mcc -e -R '-logfile,bar.txt' -v foo.m
Not all options are available for all compilation targets. For full details, seemcc -R.
Set Multiple Options Using -R
You can specify multiple -R
options. When you specify multiple-R
options, they are processed from left to right. For example, specify initialization start and end messages.
mcc -R '-startmsg,MATLAB Runtime initialized' -R '-completemsg,Initialization complete'