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

52 次查看(过去 30 天)
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

回答(1 个)

Meet
Meet 2025-6-24
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 个评论
ANTONIO BUSTOS LOPEZ
编辑:ANTONIO BUSTOS LOPEZ 2025-6-30
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 !

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2025a

Community Treasure Hunt

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

Start Hunting!

Translated by