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 download the installer, visit MathWorks Downloads. For detailed instructions, see Install Products Using Internet Connection.

To start the installation, run the MathWorks® installer and select the MATLAB Web App Server product for installation.

Operating SystemInstructions


Double-click the matlab_R2023a_win64.exe file.


  1. Unzip the file by entering:

    unzip -d matlab_R2023a_glnxa64

  2. Navigate to the matlab_R2023a_glnxa64 directory and execute:

    xhost +SI:localuser:root
    sudo -H ./install
    xhost -SI:localuser:root


  1. Double-click the file to unzip.

  2. Double-click the matlab_R2023a_maci64.dmg file to mount the virtual disk.

  3. Double-click InstallForMacOSX file in the virtual disk.

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

Operating SystemDefault Installation Folder


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







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\R2023a\apps

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

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


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

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

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


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

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

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

Related Topics