This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materials including this page, select Japan from the country navigator on the bottom of this page.

Deployable Archive Creation

Create deployable archives from MATLAB® code for hosting by a MATLAB Production Server™ instance

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 CompilerPackage MATLAB programs for deployment to MATLAB Production Server


productionServerCompilerTest, build and package functions for use with MATLAB Production Server
mccCompile MATLAB functions for deployment
deploytoolCompile and package functions for external deployment

Examples and How To

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.

Customize the Installer

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

Manage Support Packages

The compiler attempts to package any support packages required by an application.


MATLAB Coding Guidelines

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™.

State-Dependent Functions

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:

Modifying Deployed Functions

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.

Was this topic helpful?