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

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