Why does my MATLAB installation fail at "post-installation tasks" or hang indefinitely?
83 views (last 30 days)
Show older comments
MathWorks Support Team
on 10 Aug 2023
Edited: MathWorks Support Team
on 5 Dec 2024 at 13:53
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?
Accepted Answer
MathWorks Support Team
on 4 Dec 2024 at 0:00
Edited: MathWorks Support Team
on 5 Dec 2024 at 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 Comments
More Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!