MATLAB does not launch correctly

조회 수: 4 (최근 30일)
aadel alatwi
aadel alatwi 2024년 6월 25일
답변: Karl 2024년 6월 25일
I have installed MATLAB 2023b and I already have MATLAB 2022b. When I tried to launch MATLAB 2023b, unfortunately, MATLAB 2022b launched instead.
I really appreciate any help.
Thanks in advance.
  댓글 수: 3
halleyhit
halleyhit 2024년 6월 25일
also, your OS, is it Linux?
aadel alatwi
aadel alatwi 2024년 6월 25일
I use Ubuntu 18.04.5 LTS
and i tried through terminal user
(base) draadel@draadel-OMEN-by-HP-Desktop-PC-880-p1xx:/$ cd ./usr/local/MATLAB/R2023b/bin/
then
(base) draadel@draadel-OMEN-by-HP-Desktop-PC-880-p1xx:/usr/local/MATLAB/R2023b/bin$ matlab

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

답변 (1개)

Karl
Karl 2024년 6월 25일
From the bin directory of the MATLAB version that you want to use, try:
./matlab
To run from anywhere an executable specified only by name, you can add the path to the directory containing the executable to the list of paths assinged to the environment variable PATH, making sure that it's ahead of the paths to any other directories containing an executable of the same name.
You can check how you have PATH defined with:
echo $PATH
You can check the path that will be used if you specify the name matlab with:
which matlab

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

태그

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by