A deployable archive contains compiled MATLAB code to deploy on a MATLAB
Production Server™ instance. Generate a deployable archive using the
compiler.build.productionServer function, the Production
Server Compiler app, or the
mcc command line compiler.
In most cases, you can generate the deployable archive on one platform and deploy to a server running on any other supported platform. Unless you add operating system-specific dependencies or content, such as MEX files or Simulink® simulations to your applications, the generated archives are platform-independent.
|Production Server Compiler||Package MATLAB programs for deployment to MATLAB Production Server|
|Create an archive for deployment to MATLAB Production Server|
|Options for building deployable archives|
|Compiler build results object|
|Test, build and package functions for use with MATLAB Production Server|
|Compile MATLAB functions for deployment|
|Open a list of application deployment apps|
|Create a persistence service controller object|
|Start a persistence service and attach it a to MATLAB session|
|Stop a persistence service and detach it from a MATLAB session|
|Restart a persistence service and attach it to a MATLAB session|
|Connect a MATLAB session to a persistence service that is already running|
|Disconnect MATLAB session from a persistence service that is already running|
|Test whether the persistence service is reachable|
|Version number for persistence provider|
|Connect to cache, or create a cache if it doesn't exist|
|Return the number of bytes of storage used by value stored at each key|
|Remove all keys and values from cache|
|Write all locally modified keys to the persistence service|
|Fetch values of keys from cache|
|Get the value of a public cache property|
|Determine if the cache contains specified keys|
|Get all keys from cache|
|Number of key-value pairs in the data cache|
|Flush all local data to the persistence service|
|Write key-value pairs to cache|
|Remove keys from cache|
|Store remote keys from cache locally or return locally stored keys|
Package MATLAB applications into deployable archives using the Production Server Compiler app.
Package MATLAB applications into deployable archives from the command line using the
Persist data between calls to a server instance.
Example to calculate the shortest possible route between cities using persistence and MATLAB Production Server RESTful API.
Best practices for writing MATLAB code when deploying to MATLAB Production Server.
Dealing with MATLAB functions that carry state.
How to include MEX files when deploying MATLAB functions.
List of supported and unsupported MATLAB data types.
How to modify and redeploy MATLAB functions.