Products & Services Solutions Academia Support User Community Company

Learn more about MATLAB Compiler   

Using MATLAB Compiler Generated DLLs in Windows Services

If you have a Windows service that is built using DLL files generated by MATLAB Compiler, do the following to ensure stable performance:

  1. Create a file named java.opts.

  2. Add the following line to the file:

    -Xrs
    
  3. Save the file to: MCRROOT/version/runtime/win32|win64, where MCRROOT is the installation folder of the MATLAB Compiler Runtime and version is the MCR version (for example, v74 for MATLAB Compiler 4.4 (R2006a)).

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS