How to run Matlab on WSL (Ubuntu 16.04)?

11 ビュー (過去 30 日間)
Deep
Deep 2018 年 12 月 4 日
編集済み: Lama 2024 年 10 月 29 日
I want to run Matlab on Ubuntu 16.04 on Windows 10. Follwoing the steps mentioned on the thread: https://www.mathworks.com/matlabcentral/answers/308911-can-i-install-matlab-in-bash-on-ubuntu-on-windows.
However, when I run the following commands,
sudo execstack -c glnxa64/libmwblas.so
sudo execstack -c glnxa64/libmwlapack.so
sudo execstack -s glnxa64/MATLAB
I get an error:
execstack: cannot open "glnxa64/libmwblas.so": No such file or directory
execstack: cannot open "glnxa64/libmwlapack.so": No such file or directory
execstack: cannot open "glnxa64/MATLAB": No such file or directory
I tried to locate glnxa64 folder under Matlab directory and it is missing as well.
Any leads to the solution will be much appreciated!
Thank you.
  1 件のコメント
Lama
Lama 2024 年 10 月 29 日
編集済み: Lama 2024 年 10 月 29 日
Thank you so much. This is also a solution for matlab2024b on wsl2 using ubuntu20.04

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

回答 (1 件)

Lucademicus
Lucademicus 2019 年 12 月 19 日
編集済み: Lucademicus 2019 年 12 月 19 日
The folder you're referring to is within the bin folder. Probably the full path is: /usr/local/MATLAB/Rversionnumber/bin, in which you substitute Rversionnumber for your version, for example R2019b
btw: I'm not succesful in running R2019b myself. Previous versions were not a problem

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by