C2000 Microcontroller Blockset install fails silently on Ubuntu 20.04

I am trying to install C2000 Microcontroller Blockset on Matlab R2025a. The final install dialog box tells that MATLAB will resart after installation is complete. MATLAB NEVER RESTARTS. I have tried this many times.
Matlab Version: '25.1.0.2973910 (R2025a) Update 1'
I have CCS 12.81 an 20.4 installed on my system which is running Ubuntu 24.04.3 LTS.
How do I proceed ?

Risposte (1)

Ivy
Ivy il 5 Gen 2026
Modificato: Ivy il 5 Gen 2026
Hi Sarthi,
I assume you install matlab in a sudo-required location, for example the default location, correct?
If so, MATLAB tries to run the installer but since it needs sudo, it fails silently. You can try:
  • Run MATLAB as sudo first, then install via the Add-ons.
  • Use other installation methods, such as running the MATLAB installer or using MPM.
You are using Ubuntu 24 (and 25 I believe), there is a bit of an issue launching MATLAB using sudo, it'd crash. You'd need to rename/move the library libstdc (eg /usr/local/MATLAB/R2025a/sys/os/glnxa64/libstdc++.so.6.0.30) so MATLAB uses the system's library, then launching sudo wouldn't crash.
The second option, I suggest reading this article:
https://www.mathworks.com/matlabcentral/answers/101885

3 Commenti

My Matlab is installed in my home/MATLAB directory. I believe this directory doen't require sudo.
Also, I've done a complete reinstall of the software during which C2000 blockset was installed.
Hmm I see, then perhaps the installer failed due to some other reason and not permissions.
You could take a look of the installation log if it happens again, it should be in /tmp/mathworks_*.log where * is the username.

Accedi per commentare.

Categorie

Richiesto:

il 5 Gen 2026

Commentato:

Ivy
il 8 Gen 2026

Community Treasure Hunt

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

Start Hunting!

Translated by