Main Content

Deploy Archive to MATLAB Production Server

After you package MATLAB® functions into MATLAB Production Server™ deployable archives, you can upload the archives to your server instance. For clients to access the archives, your server instance must be running.

The deployable archive has the name project_name.ctf. If you use the Production Server Compiler (MATLAB Compiler SDK) app to create a deployable archive, the archive is available in the for_redistribution folder of the deployment project. If you use the compiler.build.productionServerArchive (MATLAB Compiler SDK) function to create a deployable archive, you can specify an output folder to create the deployable archive.

For on-premises server instances managed using the command line, copy the deployable archive into the folder specified by the auto-deploy-root property. By default, the server uses the auto_deploy folder in your server instance. You can add a deployable archive into the auto_deploy folder of a running server. The server monitors this folder dynamically and processes the deployable archives that are added to the auto_deploy folder.

For on-premises server instances managed using the dashboard and server deployments on Azure® and AWS®, use the dashboard and cloud dashboard, respectively, to upload and share MATLAB applications. For uploading applications for server deployments in Azure, see Upload MATLAB Application and Upload MATLAB Applications. For uploading applications for server deployments in AWS, see Upload MATLAB Application and Upload MATLAB Applications.

For servers running in Kubernetes®, upload the deployable archive to your network file server or Azure file share. All users must have read permission to the deployable archive. For deployment details in Kubernetes, see the MATLAB Production Server in Kubernetes repository on GitHub®.

See Also

Apps

Functions

  • (MATLAB Compiler)

Related Topics