Deploying a Standalone Application on a Network Drive

www.kxcad.net Home > CAE Software Index > MATLAB Index >


Your Ad Here

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 Component Runtime (MCR).

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

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

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

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

To register the DLLs, at the DOS prompt enter

regsvr32 <fully_qualified_pathname\dllname.dll>

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

  


© 1984-2007 The MathWorks, Inc. Terms of Use Patents Trademarks Acknowledgments

Your Ad Here