User`s guide

4 Deployment Process
Using MATLAB Compiler Generated DLLs in Windows
Ser vices
If you have a Wind
ows serv ice that is built using DLL file s generated by
MATLAB Compile
r, do the following to ensure stable performance:
1 Create a file na
med
java.opts.
2 Add the following line to the file:
-Xrs
3 Savethefileto: MCRROOT /version/bin/win32,whereMCRROOT is the
installation directory of the MATLAB Component Runtime and
version is
the MCR version (for example,
v74 for MATLAB C ompiler 4.4 (R2006a)).
Caution Failuretocreatethejava.opts file using these steps may result in
unpredictable results such as premature term ination of Windows services.
4-26