Toolbox installation going wrong - linux

116 visualizzazioni (ultimi 30 giorni)
tim
tim il 13 Giu 2025
Modificato: Mahboob circa 20 ore fa
I am using the newest release 2025a on a linux computer. I want to install the Statistics and Machine Learning Toolbox which is included in my license. In general the installation process is simple - i open the add-on explorer, find the toolbox and click install. Then a window pops up, that the toolbox will be installed, matlab will be closed and restarted once complete. Matlab closes but never restarts, if i start it again the toolbox is missing.
What can I do ?
  3 Commenti
Davide
Davide il 11 Lug 2025
I am having the same problem (Ubuntu 24.04.2 LTS), still didn't find a way to solve it
Philipp
Philipp il 5 Nov 2025 alle 22:42
Modificato: Philipp il 5 Nov 2025 alle 22:45
I also have exactly the same problem (Kubuntu 24.04 LTS, R2025b). MATLAB is installed below my home folder and my user account has access to the installation files (not installed using sudo).

Accedi per commentare.

Risposte (3)

tim
tim il 16 Giu 2025
i can circumvent this problem by reinstalling matlab and selecting the official toolboxes i want. but this is a really tedious "fix" and not sure what to do about unlisted toolboxes..

Mahboob
Mahboob il 13 Ago 2025
Run matlab by sudo so that it can run the installer after closing.
  2 Commenti
JOSHUA RAPHAEL
JOSHUA RAPHAEL circa 4 ore fa
Not working for me :/
Can you provide some sources on why runnng with sudo could help?
Thanks a lot!
Mahboob
Mahboob circa un'ora fa
Modificato: Mahboob circa un'ora fa
Well, in depends on where you installed your matlab, and if even used sudo to run the initial installer setup. For example, if you installed it in /usr/local/MATLAB/<VERSION> then this directory is not writable by normal user, and therefore, if you ran matlab without sudo, then the updater or module installer won't be able to write files on the sub directories of /usr/local/MATLAB/<VERSION>.

Accedi per commentare.


Rahul Gulia
Rahul Gulia il 6 Set 2025
Open a terminal and run:
sudo matlab
Then, start installing your Add-Ons. Hope this helps.
  3 Commenti
JOSHUA RAPHAEL
JOSHUA RAPHAEL circa 4 ore fa
Modificato: JOSHUA RAPHAEL circa 4 ore fa
Same here, matlab crashes when trying to run with sudo :(
I get the following output:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QXcbGlxIntegration::initialize
Xcb GLX gl-integration successfully initialized
qt.xkb.compose: failed to create compose table
Unable to launch MVM server: License Error: Licensing shutdown
JOSHUA RAPHAEL
JOSHUA RAPHAEL circa 4 ore fa
Modificato: JOSHUA RAPHAEL circa 4 ore fa
Managed to run matlab with sudo by using sudo -u myUserName matlab, but that didn't solve the issue.
Also tried sudo -u UserName matlab &, but still no success:/

Accedi per commentare.

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Prodotti


Release

R2025a

Community Treasure Hunt

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

Start Hunting!

Translated by