- First, ensure that WSL2 is correctly installed and set as the default version. Open a command prompt or PowerShell and run:
Why cant i install px4 toolbox despite i have wsl2 already installed?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have installed WSL2 ages ago and installed MATLAB 2023a and then px4 on it.
the whole procedure went smoothly.
but when i upgraded into 2024a, i am stuck on the message: "please install wsl2 on windows to install px4". Despite i've already done the steps, as far as rebooting windows and reinstalling MATLAB.
I cant get further than this message:
0 comentarios
Respuestas (1)
Ayush Singh
el 16 de Mayo de 2024
Editada: Ayush Singh
el 16 de Mayo de 2024
Hi Zain,
I can see that after you upgraded your MATLAB version it is not able to detect WSL2 you already installed in your system.
Since MATLAB 2024a is not recognizing an existing WSL2 installation, there might be a compatibility issue or a problem with how MATLAB detects WSL2. Here are some initial troubleshooting steps you could try:
wsl --list --verbose
If it is set to default version as 1, you can set it to 2 using:
wsl --set-default-version 2
2. Ensure that MATLAB 2024a supports the version of WSL2 you are using.
3. Try uninstalling WSL 2 and again reinstall it by following the steps on following link:
4. MATLAB stores various preferences and configurations that might not get fully cleared out during an upgrade or reinstall. Try resetting MATLAB's preferences by renaming or deleting the preferences directory (make sure to back it up first). The location can vary, but it's typically found under:
C:\Users\YourUsername\AppData\Roaming\MathWorks\MATLAB\version
Rename the Version folder related to 2024a, and MATLAB will recreate it with default settings the next time it starts.
0 comentarios
Ver también
Categorías
Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!