Main Content

Production Server Archive Compiler

Package MATLAB programs for deployment as MATLAB Production Server archives

Since R2025a

Description

The Production Server Archive Compiler packages MATLAB® programs into applications that can run outside of MATLAB. The interactive menus and dialog boxes used in the compiler apps build compiler.build commands that are customized to your specification.

Compiler app advantages include:

  • You can perform deployment tasks with a single intuitive interface.

  • You can organize your files in a MATLAB project.

  • Your project state persists between sessions.

  • You can load previously stored compiler tasks from a prepopulated menu.

  • You can package applications with an installer for distribution.

Open the Production Server Archive Compiler App

  • MATLAB toolstrip: On the Apps tab, under Application Deployment, click the app icon.

  • MATLAB command prompt: Enter productionServerArchiveCompiler.

Limitations

  • The Production Server Archive 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.

Version History

Introduced in R2025a

expand all