Why does my MATLAB installation fail at "post-installation tasks" or hang indefinitely?

83 次查看(过去 30 天)
When installing MATLAB, the installation gets to 99% or 100% but then hangs at "post-installation tasks" and does not complete, or pop-up with an error. How can I finish the installation?

采纳的回答

MathWorks Support Team
MathWorks Support Team 2024-12-4,0:00
编辑:MathWorks Support Team 2024-12-5,13:53
First, try to run the "matlab" executable from the /bin directory within your MATLAB installation directory.
If you get errors when running MATLAB, try to run the following in Terminal depending on your operating system, while specifying your actual MATLAB installation directory path and replacing "R20XXx" with your actual release:
Windows (in cmd running as adminstrator)
"C:\Program Files\MATLAB\R20XXx\bin\win64\registerWithOS.exe"
Linux
sudo /usr/local/MATLAB/R20XXx/bin/glnxa64/registerWithOS.sh
macOS (Intel)
sudo /Applications/MATLAB_R20XXx.app/bin/maci64/registerWithOS
macOS (Native Apple Silicon)
sudo /Applications/MATLAB_R20XXx.app/bin/maca64/registerWithOS
On Windows, this also creates a Start Menu shortcut for MATLAB if you did not have one already, so you should be able to launch MATLAB from the Start Menu.
Check whether MATLAB now launches without error.
If you are still having issues after trying the above, try to perform a clean reinstallation of MATLAB.
Still having issues? Please reach out to our Installation Support Team. You can contact Customer Service and Installation Support via the MathWorks website here:

更多回答(0 个)

类别

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