MATLAB: Does the standalone application compiled with mcc using the “-R” option not produce a log file

MATLAB Compiler

When I compile my standalone command using the command line, like so:
mcc -m myScript.m -R -logfile,"out.log"
and run the resulting application, I do not get any log files.

Best Answer

You should be able to resolve the issue by surrounding the entire "-logfile" option with single quotes:
mcc -m myScript.m -R '-logfile,out.log'