Local clients on a network can access MATLAB® Runtime on a network drive. To run applications using a network install of MATLAB Runtime:
Run the mcrinstaller
function to
obtain name and location of the MATLAB Runtime installer.
Copy the entire MATLAB Runtime folder onto a network drive.
Copy the compiled application into a separate folder on
the network drive, and add the path
<mcr_root>\<ver>\runtime\<arch>
to all
client machines. All network clients can then execute the application.
The following table specifies what DLLs to register to deploy specific applications.
Application Deployed | DLL's to Register on Each Client Machine |
---|---|
Excel® Add-Ins |
|
.NET assemblies to create COM objects | mwcomutil.dll |
To register the DLLs, at the DOS prompt enter:
mwregsvr <fully_qualified_pathname\dllname.dll>
These DLLs are located in
<
.matlab_runtime_root
>\<ver
>\bin\win64
Note
These libraries are automatically registered on the machine on which the installer was run.
Note
There is no need to perform these steps on a Linux® system.
Distributing to a Linux network file system is the same as distributing to a local
file system. You set up the LD_LIBRARY_PATH
or use
scripts
which point to the MATLAB Runtime installation.