Problems in installing Symbolic Math Toolbox

I am trying to install the Symbolic Math Toolbox in Ubuntu-20. The folder /usr/local/MATLAB/R2024B has all permissions needed as you can see in Img-1.
But I get the msg as in Img-2. (Sorry not to include only the red text but I did not find any one.)
Any help welcome.
Happy new year.

2 comentarios

You cd /usr/local/MATLAB/R2024b . From that directory you invoke matlab . There is no local file named matlab so you are either activating an alias or else you have a matlab executable somewhere on your search path. Either way, there is the possibility that the alias or executable is not to /usr/local/MATLAB/R2024b/bin/matlab
Manolis
Manolis el 1 de En. de 2025
Thanks @Walter Roberson but this is not the case.
The executables are indeed at /usr/local/MATLAB/R2024b. Please find the answer at the end of this question.
Manolis Logiadis

Iniciar sesión para comentar.

Respuestas (1)

pngs = dir('*.png')
pngs = 2x1 struct array with fields:
name folder date bytes isdir datenum
for k = 1:numel(pngs)
figure
imshow(imread(pngs(k).name))
end
First, if you haven't already, click on the link in the error window to find out what it says. (My installation is different from yours, since MATLAB wanted toinstall it to Home/ usr/local/MATLAB/R2024b, so I let it.)
See: Linux : Installing new toolboxes on an existing installation since that may apply to your situation.
.

3 comentarios

Manolis
Manolis el 1 de En. de 2025
@Star Strider Thank you for your answer.
The solution to this problem is changing the owner of /usr/local/MATLAB/ from root to my name using:
cd /usr/local/MATLAB/
sudo chown -R manos *
For more details look at:
Happy new year.
Manolis Logiadis
Star Strider
Star Strider el 1 de En. de 2025
My pleasure!
That is the same link I directed you to in my answer.
You, too!
Manolis
Manolis el 2 de En. de 2025
Yes indeed @Star Strider: I mention the link once more for anybody who would read my comment.
Speaking about the Error message it is misleading: It is not question of rights only, it is question of rights AND owner.
Happy Matlab.

Iniciar sesión para comentar.

Categorías

Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.

Productos

Versión

R2024b

Etiquetas

Preguntada:

el 31 de Dic. de 2024

Comentada:

el 2 de En. de 2025

Community Treasure Hunt

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

Start Hunting!

Translated by