Filter löschen
Filter löschen

Why Matlab can not find the WSL2?

34 Ansichten (letzte 30 Tage)
龙
am 27 Jun. 2024 um 9:37
Beantwortet: am 29 Jun. 2024 um 0:10
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.

Akzeptierte Antwort

Arun Mathamkode
Arun Mathamkode am 28 Jun. 2024 um 13:05
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 Kommentar
龙
am 29 Jun. 2024 um 0:02
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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

龙
am 29 Jun. 2024 um 0:10
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.

Produkte


Version

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by