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 Center および File ExchangeIntroduction 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