Main Content

Modifying Deployed Functions

After you have built a deployable archive, you are able to modify your MATLAB® code, recompile, and see the change instantly reflected in the archive hosted on your server. This is known as hot deploying or redeploying a function.

To hot deploy, you must have a server created and running, with the built deployable archive located in the server’s auto_deploy folder, as set by the server configuration property auto-deploy-root (MATLAB Production Server).

The server deploys the updated version of your archive when one of the following occurs:

  • Compiled archive has an updated time stamp

  • Change has occurred to the archive contents (new file or deleted file)

It takes a maximum of five seconds to redeploy a function using hot deployment. It takes a maximum of ten seconds to undeploy a function (remove the function from being hosted).

Related Topics