Main Content

Install or Uninstall MATLAB Web App Server Product


MATLAB® Web App Server™ must be installed in a trusted intranet environment on dedicated hardware. The only purpose of the physical or virtual machine where the server is installed must be to host web apps that connect to the server. The server must never be exposed to the open Internet. For more information, see MATLAB Web App Server Security.


Installing the MATLAB Web App Server product requires a valid software license, which you can obtain by purchasing the product or downloading a product trial. For more information, visit the MathWorks Store.

To start the installation, run the MathWorks installer and select the MATLAB Web App Server product for installation. To download the installer, visit MathWorks Downloads. For detailed instructions, see Install Products Using Internet Connection.

The installation process creates a default installation folder based on your operating system and the release version. For instance, the default installation folder for R2021a is as follows:

Operating SystemDefault Installation Folder


C:\Program Files\MATLAB\MATLAB Web App Server\R2021a







Before uninstalling the MATLAB Web App Server product from your system, you need to execute webapps-uninstall from the system command-line. Executing webapps-uninstall unregisters services and removes default user accounts used by the services. Failing to execute webapps-uninstall results in orphan services and user accounts and may make subsequent installations of the product unsuccessful.

To uninstall the MATLAB Web App Server product, follow the usual instructions for uninstalling MathWorks® products. For more information, see Uninstall MathWorks Products.

You can manually delete the following folders after uninstalling the product:

Operating SystemFolders


Apps Folder: %ProgramData%\MathWorks\webapps\R2021a\apps

Logs Folder: %ProgramData%\MathWorks\webapps\R2021a\logs

Config Folder: %ProgramData%\MathWorks\webapps\R2021a\config


Apps Folder: /local/MathWorks/webapps/R2021a/apps

Logs Folder: /local/MathWorks/webapps/R2021a/logs

Config Folder: /local/MathWorks/webapps/R2021a/config


Apps Folder: /Library/Application Support/MathWorks/webapps/R2021a/apps

Logs Folder: /Library/Application Support/MathWorks/webapps/R2021a/logs

Config Folder: /Library/Application Support/MathWorks/webapps/R2021a/config

Related Topics