Local clients on a network can accessMATLAB®Runtimeon a network drive.
On Linux®systems, distributing to a network file system is the same as distributing to a local file system. After installingMATLAB Runtime, set theLD_LIBRARY_PATH
environment variable or use shell scripts that point to theMATLAB Runtimeinstallation. For information on setting the library path, seeSet MATLAB Runtime Path for Deployment.
On Windows®systems, complete the following steps to run applications using a network install ofMATLAB Runtime:
Run themcrinstaller
function to obtain name and location of theMATLAB Runtimeinstaller.
Copy the entireMATLAB Runtimefolder onto a network drive.
Copy the compiled application into a separate folder on the network drive and add the directory
在所有客户端机器上的路径。所有网络clients can then execute the application.
\
\runtime\
The following table specifies which DLLs to register on each client machine to deploy specific applications.
Application Deployed | DLLs to Register |
---|---|
Excel®Add-Ins |
|
.NET assemblies to create COM objects | mwcomutil.dll |
To register the DLLs, at the system command prompt enter:
mwregsvr <fully_qualified_pathname\dllname.dll>
These DLLs are located in<
.
>\<VERSION
>\bin\win64
Note
These libraries are automatically registered on the machine on which the installer was run.