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 commentaires

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 le 1 Jan 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

Connectez-vous pour commenter.

Réponses (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 commentaires

Manolis
Manolis le 1 Jan 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
My pleasure!
That is the same link I directed you to in my answer.
You, too!
Manolis
Manolis le 2 Jan 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.

Connectez-vous pour commenter.

Catégories

Produits

Version

R2024b

Question posée :

le 31 Déc 2024

Commenté :

le 2 Jan 2025

Community Treasure Hunt

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

Start Hunting!

Translated by