Why Matlab can not find the WSL2?

6 次查看(过去 30 天)
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