This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

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