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 次查看(过去 30 天)
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 个)

Shubham Srivastava
Shubham Srivastava 2017-2-16
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 个评论
Hank Chan
Hank Chan 2018-2-6
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

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by