How can I include a java.opts file in my MATLAB Compiler-generated application?

2 次查看(过去 30 天)

采纳的回答

MathWorks Support Team
The ability to include a java.opts file is not available in MATLAB Compiler.
To work around this issue, you must manually place java.opts in one of the following locations:
1. <mcr_root>/<ver>/bin/<arch> directory, where <mcr_root> is the location where MATLAB Compiler Runtime (MCR) is installed, <ver> is the corresponding version number of the MCR and <arch> is the system architecture string.
2. The directory that the application is started from
Be aware that putting the file in the bin/win32 directory of the MCR affects every application that runs using that MCR.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

尚未输入任何标签。

产品


版本

R14SP2

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by