Intermittent error on Linux: 'Launching updater executable'

49 visualizaciones (últimos 30 días)
matlabgod
matlabgod el 17 de En. de 2025
Respondida: Conor Burgess el 27 de Mayo de 2025
I'm running a piece of code using the following cli commands
matlab -nodisplay -r "scriptname('input1', 'input2'); quit"
And every so often, when I sun this, it gets stuck on a terminal prompt which states
'Launching updater executable'

Respuestas (2)

Pratyush Swain
Pratyush Swain el 22 de En. de 2025
Hi matlabgod,
I understand you are getiing 'Launcher updater excutable' error on running a batch script. I am assuming your scriptname is a function which accepts two arguments.
Please try these following workaround/troubleshooting steps:
1 - Use -nojvm flag and -nodesktop flag in the command:
Replace your command with:
matlab -nodisplay -nojvm -nodesktop -r "scriptname('input1', 'input2'); quit"
2 - Restart MathWorks service host using command
killall -9 MathWorksServiceHost
You can also uninstall and install the MathWorks service host by following the thread here: https://www.mathworks.com/matlabcentral/answers/1815365-how-do-i-uninstall-and-reinstall-the-mathworks-service-host
3 - Try to reboot your system.
Hope this helps.

Conor Burgess
Conor Burgess el 27 de Mayo de 2025
Please try using:
matlab -batch "scriptname('input1', 'input2')"
to launch MATLAB instead. More details on the -batch argument can be found here.

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by