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

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 2025년 1월 1일
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

댓글을 달려면 로그인하십시오.

답변 (1개)

Star Strider
Star Strider 2024년 12월 31일
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

Manolis
Manolis 2025년 1월 1일
@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 2025년 1월 2일
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.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품

릴리스

R2024b

태그

질문:

2024년 12월 31일

댓글:

2025년 1월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by