This error is being caused by your current Gatekeeper settings within OS X.
To work around this, you can either grant a temporary exception for the MATLAB Installer or lower your Gatekeeper settings to allow programs downloaded from the internet to be run.
To allow the MATLAB Installer on a one-time basis (recommended), you should:
- Navigate into your Downloads directory.
- Right-click or CTRL+click on 'Install for Mac OS X'.
- Click 'Open' in the drop-down menu.
- When asked, click 'Open' to continue using this program.
If you would prefer to disable Gatekeeper all together, try these steps instead:
- Navigate to: Apple Menu > System Preferences > Security & Privacy > General.
- Once there, select the radio button that says 'Anywhere'.
- MATLAB should install successfully.
If 'Anywhere' is not available as an option in the menu:
1.Navigate to: Applications > Utilities > Terminal or launch Terminal by using Spotlight search
2.Type the command: sudo spctl --master-disable
The user will need to enter their administrator password.
Note: You may have to 'open' the pad lock in the corner of the Security & Privacy tab.
For more information directly from Apple, please see the following Apple Knowledge Base article: