Why does the MathWorks Product Installer fail to start on macOS?

86 views (last 30 days)
Why does the MathWorks Product Installer fail to start on macOS? The installer provides no error message when it crashes, it just doesn't launch.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Nov 2024 at 0:00
Edited: MathWorks Support Team on 2 Dec 2024 at 17:24
There are a several possible reasons the MathWorks Product Installer might fail to run on macOS without displaying an error message or creating a crash logs.
 
1. System Requirements
Ensure that the release of MATLAB that you are attempting to install is compatible with the version of macOS that is installed on your Mac:
To determine the version of macOS that you are running:
  • Click on the Apple Menu in the upper left-hand corner of the screen
  • Click "About This Mac"
You may be able to install an older release of MATLAB on a version of macOS not explicitly supported by that release by installing some legacy components.
For R2013a and earlier, you need to have legacy Java 6 installed to install MATLAB:
If installing R2013a and earlier on macOS 10.10 "Yosemite" or later, you may need to force the installer to use legacy Java 6:
For R2012a and earlier, you need to have XQuartz installed to install MATLAB:
2. Permissions
Your account must have administrative permissions to install MATLAB. If you do not have administrative permissions on your Mac, contact your system administrator.
 
3. The prompt to enter your Mac account information is being blocked
If you are not receiving the prompt to enter your Mac account information after running the installer, it is possible that something has prevented this prompt from appearing. The directions below this paragraph could fix this issue. Keep in mind that you will need administrative privileges to follow these steps.
  1. Open the System Preferences app on your Mac.
  2. Select the Security & Privacy section
  3. Make sure you have selected the Privacy tab on the top of this window
  4. Click the lock in the bottom left corner of the window to authorize changes and type in your Mac password. If you are not an administrator, you will need an administrator to enter their information to make these changes.
  5. On the left-hand side, scroll down and select the Full Disk Access section
  6. A new section on the right-hand side should open. Scroll through this list on the right-hand side. If you see an item labeled XProtect.app, make sure it is checked. If you do not see this, follow the steps below to add it.
    1. Press the + button underneath the list of apps.
    2. Select any folder on the left-hand side of the Finder window.
    3. Next to the search bar should be the name of the folder you selected. Select this and a dropdown menu will open.
    4. Select Macintosh HD
    5. Select the folders in the following order: Library -> Apple -> System -> Library -> CoreServices
    6. Select XProtect.app and then Open. The app should now be added to the list of allowed apps with Full Disk Access
  7. Restart your computer
  8. If this does not work, you may also add the Installer to the list of programs with Full Disk Access. A restart may be necessary.
4. Security software
Security and antivirus software may prevent you from installing MATLAB. Temporarily disable your security software, or add MATLAB to your security software's whitelist, to launch the installer. You can also check to see if your system integrity is turned on.
5. Third-party archive tool
If you have installed third-party archive tools such as The Unarchiver or WinZip for Mac, make sure you extract the installer before running it. The installer cannot be run from inside the zip archive it was downloaded in, and must be extracted to a folder before it will run.
 
6. Rosetta is not installed
If you are using a Mac with an M-series processor, note that only MATLAB R2023b and later releases run natively on Apple Silicon. MATLAB releases R2023a and previous on Apple Silicon would require Rosetta to be installed. If you do not have Rosetta installed, you may install Rosetta by following these steps:
  1. Open the Terminal app. You can do this by selecting the magnifying glass in the top right corner of your screen, typing in Terminal, and then selecting the first result.
  2. Enter the command into terminal: softwareupdate --install-rosetta
  3. Type "A" then press enter/return on your keyboard

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

No tags entered yet.

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!