Products & Services Solutions Academia Support User Community Company

Learn more about MATLAB Compiler   

Deploying a Standalone Application on a Network Drive

You can deploy a compiled standalone application to a network drive so that it can be accessed by all network users without having them install the MCR on their individual machines.

  1. On any Windows machine, execute MCRInstaller.exe to install the MATLAB Compiler Runtime (MCR).

  2. Copy the entire MCR folder (the folder where MCR is installed) onto a network drive.

  3. Copy the compiled application into a separate folder in the network drive and add the path <mcr_root>\<ver>\runtime\<arch> to all client machines. All network users can then execute the application.

  4. Run vcredist_x86.exe on for 32-bit clients; run vcredist_x64.exe for 64-bit clients.

  5. If you are using MATLAB Builder EX, register mwcomutil.dll and mwcommgr.dll on every client machine.

    If you are using MATLAB Builder NE (to create COM objects), register mwcomutil.dll on every client machine.

    To register the DLLs, at the DOS prompt enter

    mwregsvr <fully_qualified_pathname\dllname.dll>
    

    These DLLs are located in <mcr_root>\<ver>\runtime\<arch>.

      Note   These libraries are automatically registered on the machine on which the installer was run.

  


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