MATLAB: Do I receive “??? Error executing mcc, return status = 134” when using MATLAB Compiler 4.0 (R14) and the -nojvm runtime option

codecompilerexitMATLAB Compilermccmcrnojvmr

I am attempting to compile my MATLAB code into a stand-alone application, and I am specifying the runtime option of -nojvm. For example, I might compile with:
mcc -v -R nojvm myfile.m
However, I receive the following error:
??? Error executing mcc, return status = 134.

Best Answer

This error may be caused by using the incorrect syntax of the -nojvm runtime option. When using this option with MCC, include a hyphen before "nojvm" as in:
mcc -m -v -R -nojvm myfile.m