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

58 Ansichten (letzte 30 Tage)
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

Antworten (1)

Meet
Meet am 24 Jun. 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 Kommentare
ANTONIO BUSTOS LOPEZ
ANTONIO BUSTOS LOPEZ am 30 Jun. 2025
Bearbeitet: ANTONIO BUSTOS LOPEZ am 30 Jun. 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 am 11 Jul. 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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Produkte


Version

R2025a

Community Treasure Hunt

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

Start Hunting!

Translated by