Cannot install ToolBox through Add-On Explorer in Ubuntu Matlab 2025a, it does not reestart after "installation"

70 vues (au cours des 30 derniers jours)
When I try to install Control System Toolbox, it does proceed as normal, however, when it prompts me to wait for restart for the installation, it does not restart. When I open Matlab again, it does not appear as installed.
I have tried to run it as super user but it does give me an error:
XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
I have also tried to rerun the matlab installator, however, it does not update the ToolBoxes installed, even after installing, supposedly, said toolbox (rerun installation process but pointing to the folder where it was already installed), the toolbox appeared as not installed.
Any help? I am banging my head against the wall at this point.
This is the last message I get before reboot:
Specifications:
Ubuntu 24.04.2 LTS x86_64
GNOME 46.0
root folder: /home/antonio/MATLAB/MATLAB-/R2025a

Réponses (1)

Meet
Meet le 24 Juin 2025
Hi Antonio,
I would recommend to try the following workaround to fix the issue:
  1. Use MathWorks Silent Installer and install the "Control System Toolbox" programmatically. (https://www.mathworks.com/help/install/ug/install-noninteractively-silent-installation.html)
  2. Once "Control System Toolbox" is installed, launch MATLAB and run these commands in the Console:
restoredefaultpath;
rehash toolboxcache;
savepath;
3. Verify Control System Toolbox appears:
ver
I hope this helps resolve the issue!!
  2 commentaires
ANTONIO BUSTOS LOPEZ
ANTONIO BUSTOS LOPEZ le 30 Juin 2025
Modifié(e) : ANTONIO BUSTOS LOPEZ le 30 Juin 2025
Sadly it did not work, I had to reinstall MATLAB altogether. The Add-On Installer seems to work now. Perhaps there was some kind of conflict with poorly deleted MATLAB Installation files from previous installs.
Thanks a lot for yout answer, though !
Davide
Davide le 11 Juil 2025
@ANTONIO BUSTOS LOPEZ How did you uninstall and reinstall MATLAB? I am having the same exact problem and yours is the only solution I have found

Connectez-vous pour commenter.

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Produits


Version

R2025a

Community Treasure Hunt

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

Start Hunting!

Translated by