Production Server Compiler
Package MATLAB programs for deployment to MATLAB Production Server
Description
The Production Server Compiler app tests the integration of client code with MATLAB® functions. It also packages MATLAB functions into archives for deployment to MATLAB Production Server™.
Open the Production Server Compiler App
MATLAB Toolstrip: On the Apps tab, under Application Deployment, click the app icon.
MATLAB command prompt: Enter
deploytool
. Click Production Server Compiler.MATLAB command prompt: Enter
productionServerCompiler
.
Examples
Parameters
Programmatic Use
Limitations
The Production Server Compiler app supports testing but not packaging of archive-level routes that map request URLs to web handler functions stored within the archive. If you test routes defined in an archive-level routes JSON file and then build the archive, the routes file is not included in the archive and the routes do not work. To package archive-level routes, use the
mcc
command instead. For more details on web request handlers, see Handle Custom Routes and Payloads in HTTP Requests (MATLAB Production Server) and Test Web Request Handlers.