A deployable archive contains compiled MATLAB code to deploy on a MATLAB Production Server instance. You generate a deployable archive using either the Production Server Compiler app or the command line compiler.
Production Server Compiler | Package MATLAB programs for deployment to MATLAB Production Server |
productionServerCompiler | Test, build and package functions for use with MATLAB Production Server |
mcc | Compile MATLAB functions for deployment |
deploytool | Compile and package functions for external deployment |
Compile Deployable Archives with Production Server Compiler App
The Production Server Compiler App is a graphical tool for compiling and packaging deployable archives.
Compile Deployable Archives from Command Line
Using the command line compiler to create deployable archives.
How to customize the look and feel of the installer generated by the compiler app
Manage Required Files in Compiler Project
How to ensure that the compiler includes all of the required MATLAB files when generating the application
Specify Files to Install with Application
How to include extra files to be installed along with the application
The compiler attempts to package any support packages required by an application.
When writing MATLAB code for deployment to MATLAB Production Server you must adhere to the same to the same guidelines as when writing code for deployment with MATLAB Compiler™ or MATLAB Compiler SDK™.
MATLAB code that you want to deploy often carries state—a specific data value in a program or program variable.
Deploying MATLAB Functions Containing MEX Files
If the MATLAB function you are deploying uses MEX files, ensure that the system running MATLAB Production Server is running the version of MATLAB Compiler used to create the MEX files.
Unsupported MATLAB Data Types for Client and Server Marshaling
These data types are not supported for marshaling between MATLAB Production Server server instances and clients:
Once you have built a deployable archive, you can modify your MATLAB code, recompile, and see the change instantly reflected in the archive hosted on your server.