MATLAB does not launch correctly

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 commentaires

Ayush Anand
Ayush Anand le 25 Juin 2024
Could you provide more information on how you are trying launch MATLAB 2023b, as in through the command line or the application.exe file and so on?
halleyhit
halleyhit le 25 Juin 2024
also, your OS, is it Linux?
aadel alatwi
aadel alatwi le 25 Juin 2024
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

Connectez-vous pour commenter.

Réponses (1)

Karl
Karl le 25 Juin 2024
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

Catégories

En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange

Produits

Version

R2023b

Tags

Réponse apportée :

le 25 Juin 2024

Community Treasure Hunt

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

Start Hunting!

Translated by