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

조회 수: 3 (최근 30일)
I want to include a java.opts file with my application to utilize the settings I have specified in it.

채택된 답변

MathWorks Support Team
MathWorks Support Team 2016년 11월 15일
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