Run Applications Using a Network Installation of MATLAB Runtime
Local clients on a network can access MATLAB® Runtime on a network drive.
On Linux® systems, distributing to a network file system is the same as distributing
to a local file system. After installing MATLAB Runtime, set the LD_LIBRARY_PATH
environment variable or use
shell scripts that point to the MATLAB Runtime installation. For information on setting the library path, see Set MATLAB Runtime Path for Deployment.
On Windows® systems, complete the following steps to run applications using a network install of MATLAB Runtime:
Install MATLAB Runtime onto a machine with the same system architecture as the network drive. For details, see Install and Configure MATLAB Runtime.
Copy the entire MATLAB Runtime installation folder onto the network drive.
Add the directory
to the path on all client machines. For instructions, see Set MATLAB Runtime Path for Deployment. All network clients can then execute compiled applications.<MATLAB_RUNTIME_INSTALL_DIR>
\<VERSION>
\runtime\<ARCH>
The following table specifies which DLLs to register on each client machine to deploy specific applications.
Application Deployed DLLs to Register Excel® Add-Ins mwcomutil.dll
mwcommgr.dll
.NET Assemblies and COM Components mwcomutil.dll
To register these DLLs:
Open a system command prompt
Navigate to
, wherematlabroot
\bin\version
matlabroot
represents the location of MATLAB or MATLAB Runtime that corresponds to the MATLAB release that you used to compile your application.Run one or both of the following commands:
mwregsvr mwcomutil.dll
mwregsvr mwcommgr.dll
For more information about the
mwregsvr
utility, see Register COM Component (MATLAB Compiler SDK).