Matlab fails to install add-ons on ubuntu.

51 vues (au cours des 30 derniers jours)
一宸
一宸 le 25 Nov 2025 à 6:05
Réponse apportée : dpb le 26 Nov 2025 à 22:01
My version is R2024b and the platform is Ubuntu 20.04. I want to learn system control on the Matlab. While I finished my code, the console warned that I didn't have the add-on "Control System Toolbox". I tried to downloaded the add-ons in Matlab but failed, the window told me that "failed to get the add-ons" though everytime it had been downloaded for about 40%.
What I've tried:
  1. change the add-on directory: failed. I change the directory to the ~/MatlabAddons but it didn't work.
  2. give the matlab sudo permission: I used the chown to elevate matlab's administration but still doesn't work.
  3. sudo start the matlab: sucess. I enter the matlab's installation directory and use sudo .matlab and when the program is opened, the addons can be installed. But as long as I don't use the sudo start, the addons are missing. Furthermore, using sudo every time has safety risks.
Here is the error window:
Then
Thanks!

Réponses (1)

dpb
dpb le 26 Nov 2025 à 22:01
The ControlSystem Toolbox is an additional product; you'll need to verify the license includes it in order to be able to install it. If it was in the initial product purchase, it should have been included in the initial install automatically.
https://www.mathworks.com/help/overview/control-systems.htm lists all the area toolboxes that might be of interest depending upon just what you do want to do
Log in to your user account and go to the license center and see if it is listed; if not, you'll need to contact your local Mathworks sales channel.

Catégories

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

Tags

Produits


Version

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by