Skip to Main Content Skip to Search
Product Documentation

Deploying a Standalone Application on a Network Drive (Windows Only)

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, run mcrinstaller function to obtain name of the MCR Installer executable.

  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.

  


Free MATLAB Compiler Interactive Kit

Learn how to build standalone executables and C/C++ shared libraries from MATLAB code.


Get free kit

Trials Available

Try the latest version of MATLAB Compiler.


Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS