Uninstalling MATLAB

In this comprehensive 2000+ word article, we explore the intricacies of removing MATLAB from your system. We’ll go through a detailed guide with step-by-step instructions on how to uninstall this powe …

Updated November 1, 2023

Hey! If you love Computer Vision and AI, let's connect on Twitter or LinkedIn. I talk about this stuff all the time!

In this comprehensive 2000+ word article, we explore the intricacies of removing MATLAB from your system. We’ll go through a detailed guide with step-by-step instructions on how to uninstall this powerful programming language and computer vision platform effectively. Moreover, we will also delve into its uses in various scientific, engineering, and research fields. Be prepared for a technical journey as we dive deeper into MATLAB’s versatile capabilities.


MATLAB (Matrix Laboratory) is a high-level programming language designed specifically for numerical computing, matrix computation, and computational thinking. Developed by MathWorks, this software offers an integrated development environment along with vast libraries of functions and toolboxes catering to different disciplines such as mathematics, engineering, science, and data analysis.

Although MATLAB is widely used across multiple fields, there may come a time when you need to uninstall it. There could be various reasons for this, ranging from wanting to switch platforms or upgrade to a new version. Furthermore, users may wish to clear space on their computers or simply change the working environment. Regardless of the reason, knowing how to perform a clean and effective uninstallation is crucial for maintaining a smooth and efficient computing experience.

This article aims to provide a comprehensive guide on how to uninstall MATLAB, including its installation procedure and a glimpse into its versatile applications in various domains. We’ll walk through step-by-step instructions, explain the process, and incorporate code samples where necessary to demonstrate concepts. Please note that the following tutorials were tested on Windows 10 operating system.

Preparing for MATLAB Uninstallation

Before you proceed with uninstalling MATLAB, it’s essential to create a backup of your existing MATLAB projects and settings. This will help preserve your valuable work and ensure seamless transitions between different versions or platforms if necessary.

Step 1: Backup Your Workspace and Settings

To avoid losing valuable data while uninstalling, follow these steps to back up MATLAB files:

  1. Open the MATLAB application by double-clicking its shortcut icon on your desktop.
  2. On the menu bar at the top, navigate to File > Set Path and Workspace.
  3. In the “Set Path and Workspace” window, click on the ‘Export’ button next to ‘Current Path’.
  4. Save the MATLAB path configuration file by providing a desired name and location, such as your desktop or any convenient storage area.
  5. Similarly, click on the ‘Export’ button next to ‘Current Workspace’ and save the workspace data in a chosen location.
  6. After saving both files, exit MATLAB and close all running processes related to it.

Having backed up your workspaces and settings, you are now ready to proceed with uninstalling MATLAB from your computer.

Step 2: Uninstall MATLAB Using the Add/Remove Programs Method

  1. Press Windows + I on your keyboard to open the Settings app. Alternatively, click the Start button and type “Settings” in the search bar. Select “Settings”.
  2. In the Settings window, choose ‘Apps’ from the left-side menu.
  3. On the Apps & Features screen, scroll down until you find the entry titled “MATLAB” with a MathWorks logo next to it.
  4. Click on the three vertical dots in line with MATLAB and select ‘Uninstall’ from the dropdown options.
  5. A dialog box will appear prompting for confirmation of uninstallation. If you are sure, click ‘Yes’.
  6. The uninstall process will begin. Follow the instructions as it guides you through several steps. This may take a few minutes depending on your computer’s configuration and installed components.
  7. After completing all necessary steps, MATLAB should now be successfully removed from your system. You can verify this by navigating back to the Apps & Features screen in Settings and looking for “MATLAB” with a MathWorks logo.

Step 3: Uninstall Remaining Files or Components Manually (Optional)

In some cases, uninstalling MATLAB through the Add/Remove Programs method might not completely remove all associated files, such as installation files from the web browser’s cache. To ensure a thorough cleanup, you can manually locate and delete these remaining components:

  1. On your computer, go to the C:\Program Files\MathWorks directory. (Note that this path may vary depending on your system’s installation type.)
  2. Search for any MathWorks-related folders or files and move them to the Recycle Bin or a different secure location. Ensure you have saved any valuable data from these directories.
  3. If you are using Microsoft Edge, open it and navigate to edge://settings/privacy. Click on ‘Cookies and Site Data’ and then ‘Clear Browsing Data’.
  4. In the pop-up window, ensure that all available options except for passwords are checked. Select the time range as ‘All Time’ and click on ‘Clear Now’.
  5. Repeat this process for your other web browsers (e.g., Google Chrome, Mozilla Firefox) if you used them during your MATLAB installation or utilization.
  6. Empty the Recycle Bin to complete the uninstallation process by removing the leftover files and folders from your system.

Reinstalling MATLAB

After successfully uninstalling MATLAB, you can download a fresh copy from MathWorks' official website (https://www.mathworks.com/products/matlab.html) to start using it again. Follow the installation wizard’s prompts and complete the process. Once your desired version of MATLAB is installed, you can access all its features by running the application.

Application Insights: The Versatility of MATLAB in Different Fields

MATLAB has vast applications across various scientific and engineering fields due to its versatile capabilities. Some of these domains include:

  1. Data Analysis: MATLAB provides powerful data visualization, signal processing, and machine learning tools to work with large datasets and extract meaningful insights for decision-making.
  2. Image Processing: With extensive image processing toolboxes and functions, MATLAB excels in analyzing images, detecting objects, and developing computer vision algorithms.
  3. Engineering Simulations: From designing aircrafts to manufacturing processes, engineers can model complex systems using MATLAB’s simulation tools for better understanding and optimization.
  4. Financial Modeling: MATLAB enables financial analysts and researchers to create sophisticated models for portfolio management, risk assessment, and option pricing with high accuracy.
  5. Robotics: This powerful software offers a wide range of robotics libraries, allowing users to simulate robots' behavior, analyze control systems, and implement advanced controls algorithms.

In conclusion, MATLAB is an indispensable tool for various research and development applications across different fields, and its uninstallation process can be achieved with care and attention. With a proper backup of your valuable data, you are well-equipped to maintain an efficient computing environment while exploring the vast possibilities offered by this versatile platform.