how to uninstall matlab mac

How to Uninstall MATLAB on Mac

By Rachel Brown
AD

When the need arises to remove MATLAB from your Mac, follow this comprehensive guide to ensure a smooth uninstallation process. We'll walk you through the necessary steps, making it easy to understand for both experienced and novice users.

Before we proceed, it's crucial to have a backup of your important data, as uninstalling MATLAB will delete all its files. Also, ensure you're logged in as an administrator to avoid any permission-related issues during the process.

Uninstalling MATLAB from the Applications Folder

MATLAB's easiest uninstallation method involves moving it from your Applications folder to the Trash. Here's how:

AD
Thoroughly Uninstall & Remove MATLAB for Mac
Thoroughly Uninstall & Remove MATLAB for Mac
How to Uninstall Apps on a Mac
How to Uninstall Apps on a Mac
How to Control + Alt + Delete on a Mac
How to Control + Alt + Delete on a Mac

1. Open a Finder window.

2. In the sidebar, scroll down and click on "Applications".

an open laptop computer sitting on top of a white bedspread with the words mac hacks you never knew excited
an open laptop computer sitting on top of a white bedspread with the words mac hacks you never knew excited
How to Fix the
How to Fix the

3. Locate the MATLAB application (it's usually a blue 'M' icon in a green frame).

4. Drag the MATLAB application to the Trash bin on your Dock, or right-click it and select "Move to Trash".

AD

Deleting Leftover Files and Preferences

After moving MATLAB to the trash, you'll still have leftover files and preferences in your home folder. To completely remove MATLAB, follow these steps:

1. Open Finder and click on "Go" in the menu bar.

2. Select "Library", then "Application Support", and finally "MATLAB".

AD

3. Drag or delete the contents of the MATLAB folder to the Trash.

4. Again, open Finder and go to "~/Library/Preferences".

5. Look for any files starting with "MATLAB" and delete them.

AD

Deleting the MATLAB License Folder and Files

If you still have your MATLAB licenses, they'll be stored in a separate folder. To remove these, follow these steps:

1. Open Finder and go to the root of your hard drive ("/").

2. Navigate to "Program Files(matlabRoot)/licenses".

3. Delete the "licenses" folder.

Uninstalling MATLAB Using Terminal

If you're comfortable using the Terminal, you can remove MATLAB using a simple command. Here's how:

1. Open Terminal (Applications > Utilities > Terminal).

2. Type the following command to remove MATLAB, then press Enter: sudo /Applications/MATLAB_Runtime.app/Contents/MacOS/installer -z -j /tmp/uninstall -cleanuninstall -agreeToLicense -noVerticalInstallations

This command will remove MATLAB and ask you to confirm the uninstallation.

Deleting Leftover Files After Terminal Uninstallation

After using the command above, you will still have leftover files. Remove them using the steps mentioned in the previous heading ("Deleting Leftover Files and Preferences").

Congratulations! You've successfully uninstalled MATLAB from your Mac. Now you can reinstall it if needed or use the space freed up for other applications. If you've encountered any issues during the process, don't hesitate to reach out to the MATLAB support team for further assistance.

AD