Main Content

RemoveMATLABProduction ServerDashboard

Follow these steps to remove theMATLAB®Production Server™dashboard in an on-premises server installation.

  1. Open a Terminal or Command Window, and navigate to thedashboardfolder in theMATLAB Production Serverinstallation directory.

    平台

    Default Directory WhereMATLAB Production ServerDashboard Is Installed

    Windows®(Administrator)

    C:\Program Files\MATLAB\MATLAB Production Server\R2022a\dashboard

    Linux®

    /usr/local/MATLAB/MATLAB_Production_Server/R2022a/dashboard

  2. Execute themps-dashboardscript with thestopoption.

    平台

    Script to Stop Dashboard

    Windows(Administrator)

    mps-dashboard.bat stop

    Linux

    ./mps-dashboard.sh stop

    Note

    You need to complete this step only if the dashboard is running.

  3. Execute themps-dashboardscript with theremoveoption.

    平台

    Script to Remove Dashboard

    Windows(Administrator)

    mps-dashboard.bat remove

    Linux

    ./mps-dashboard.sh remove

    You receive a message acknowledging that the dashboard was successfully removed.

    Note

    Attempting to remove the dashboard while it is still running will result in an error.

The procedure will remove the following directories and files from the directory where the dashboard was set up:

data mps_workspace .pid

If you run into any issues while removing the dashboard, manually delete the.pidfile and re-run themps-dashboardscript with theremoveoption.

Note

In Linux, if you started the dashboard using the&control operator, you do not need to open a new Terminal. The&control operator makes commands run in the background.

In Windows, if the dashboard is running, you will not have access to the command prompt. Therefore, you need to open a new Command Window to stop any running dashboard instances.

Note

Removing the dashboard does not uninstall it from the system. It removes the dashboard instance that was set up. The dashboard remains installed as part ofMATLAB Production Server. If you want to set up the dashboard again, use themps-dashboardscript with thesetupoption.

Related Topics