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

83 visualizaciones (últimos 30 días)
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?

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 4 de Dic. de 2024 a las 0:00
Editada: MathWorks Support Team el 5 de Dic. de 2024 a las 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:

Más respuestas (0)

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Etiquetas

Aún no se han introducido etiquetas.

Community Treasure Hunt

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

Start Hunting!

Translated by