Matlab support cannot locate the installation in Ubuntu 18.04

39 ビュー (過去 30 日間)
AlbGrim
AlbGrim 2020 年 4 月 8 日
回答済み: Hualin Ren 2022 年 2 月 21 日
I'm using Ubuntu 18.04 with MATLAB R2020a in trial mode.
I tried to install the matlab support via the command
sudo apt-get install matlab-support
When it asked to insert the executable location I typed
/usr/local/MATLAB/R2020a
as in that location there's the 'bin/matlab' executable file but I got the error
"No MATLAB installation found
No MATLAB executables were found in the directories you specified.
This package requires at least one local installation of MATLAB."
I tried using
/usr/local/MATLAB,
"/usr/local/MATLAB",
"/usr/local/MATLAB/R2020a"
but I keep getting the same error.
Am I doing something wrong ?
  3 件のコメント
Lizhao Du
Lizhao Du 2020 年 7 月 17 日
I have the same problem....
SO what should we do....
And I am with a academic license
sankulp khera
sankulp khera 2020 年 8 月 16 日
Hey
I am using ubuntu 16.04 and even i was facing the same problem but eventualy i figured it out.
I just removed the matlab support by using the command : sudo apt-get --purge remove matlab-support
If it's still showing some issues then it means that you've some unfinished downoads, which happened in my case . I executed the commands :
sudo rm /var/cache/debconf/*.dat
sudo dpkg-reconfigure -phigh -a
and then i executed sudo apt-get --purge remove matlab-support

サインインしてコメントする。

回答 (2 件)

Hualin Ren
Hualin Ren 2022 年 2 月 21 日
Hi I have meet the same condition. I solved by closing the old terminal and opening a new terminal and reenter the commands.
Also you can run $ sudo dpkg --configure -a
and then $ sudo apt-get install matlab-support
The default directory will display automatically. Then press 2 yes and 1 no on gcc page.
Hope this works.

SIDDHARTHA ROY
SIDDHARTHA ROY 2020 年 7 月 31 日
I am using Ubuntu 18.04...I also have faced the same problem....
the installation file was found in : "/usr/local/MATLAB/R2018a"

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by