Why Matlab can not find the WSL2?

9 ビュー (過去 30 日間)
龙
2024 年 6 月 27 日
回答済み: 2024 年 6 月 29 日
I am using a toolbox called uav toolbox support package for px4 autopilot, once I click the gear icon for set up, the image below would show up:
it means I have to install WSL2, but actually, I had installed WSL2, it just can not find the WSL2.
I am also find the answer that I should change the display language to English and delete some files, but unfortunately, my Windows11 is a single language version, so I can not change the language to English. I need another solution.
How can I get Matlab find the WSL2 on my PC?(there is one, I am sure)
Thanks for your answers.

採用された回答

Arun Mathamkode
Arun Mathamkode 2024 年 6 月 28 日
This issue is fixed in update 24.1.2. Go to Add-ons and see if there any update available for the UAV Toolbox support package for PX4 Autopilots. If it is available update to the latest version available. That should resolve your issue.
  1 件のコメント
龙
2024 年 6 月 29 日
Thanks for your answer, Arun, you are so kind.
I just check the version of this support package:
as you can see, the version of the toolbox is 24.1.2, but still, WSL2 can not be located.
And then I went to:
download the support package. I am not sure this downloaded package will fix the problem, I just give it a shot.
Unexpectedly, it works, the WSL2 can be located.

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

その他の回答 (1 件)

龙
2024 年 6 月 29 日
Uninstall the package and go to this link:
download this up-to-date version of package, install it.
The problem may be solved.
Every time I use the package, I will never know whether WSL2 can be located or not. Sometimes WSL2 can be located, sometims not. I don't know why it is so unstable.
This answer may be not the right answer, it resolve my problem this time.

製品


リリース

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by