Why Matlab can not find the WSL2?

9 views (last 30 days)
龙
on 27 Jun 2024
Answered: on 29 Jun 2024
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.

Accepted Answer

Arun Mathamkode
Arun Mathamkode on 28 Jun 2024
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 Comment
龙
on 29 Jun 2024
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.

Sign in to comment.

More Answers (1)

龙
on 29 Jun 2024
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.

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!