Trying to install Matlab in OSX Sierra 10.12.2, having this error all the time "installformacosx is damaged and cannot be opened" ? Help!!!

1 view (last 30 days)
Trying to install Matlab in OSX Sierra 10.12.2, having this error all the time "installformacosx is damaged and cannot be opened" ? Help!!!

Answers (1)

Shubham Srivastava
Shubham Srivastava on 16 Feb 2017
Try out the following workaround.
1.In the extracted MATLAB installer folder, right-click or control-click on InstallForMacOSX.app, and from the contextual menu click "Open".
2.In the security prompt that appears, click "Open" again. The installer will not launch immediately; this is expected due to Gatekeeper's new behavior in Sierra. However by clicking the "Open" button on the security prompt you have exempted the MATLAB installer from Gatekeeper.
3.Open a Terminal.app window.
4.Enter the command "sudo" into the Terminal window but do not run the command yet.
5.Drag the file called install from the same folder as InstallForMacOSX into the Terminal window to fill in the file's path to the terminal Window. The file called install is a UNIX executable; its icon is a black rectangle.
6.Once the path to the install UNIX executable is in the Terminal window, press enter to execute the installer. You will be prompted to enter your Mac's password before the installer launches.
7.While the installer is running the Terminal window will remain open in the background. Do not close the Terminal window until the installation has completed.
I hope following the above steps help.
Regards,
Shubham
  2 Comments
Hank Chan
Hank Chan on 6 Feb 2018
If everything else fails, you can always resort to the following on your terminal
sudo open (the location of InstallForMacOSX.exe,
mine is at InstallForMacOSX/Contents/MacOS/InstallForMacOSX)
Only sudo (superuser) has the privilege to overwrite the install/write restriction

Sign in to comment.

Categories

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

Products

Community Treasure Hunt

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

Start Hunting!