Can Microsoft's WSLg (Windows Subsystem for Linux GUI) support running matlab?
Show older comments
Has anyone had success running matlab desktop applications using WSLg?I have not successfully configured it in windows 10 21H2, but after checking the previous information, I just need to install the necessary base library jdk, execstack to install matlab on WSL, but now I think the best way to implement the desktop matlab application is through WSLg, but lack of specific tutorials, I hope the successful ones can give Thanks in advance for the installation guide!
4 Comments
Ive J
on 27 Nov 2021
I guess the link you provided for installing MATLAB on WSL using bash is for WSL 1. Have you tried installing it on WSL 2? After all, WSLg should be based on WSL 2 (same architecture).
xingxingcui
on 27 Nov 2021
Sunip Mukherjee
on 20 Dec 2022
I managed to install R2020a on WSLg (Win 11 22H2) using the /path/to/installer/bin/glnxa64/install_unix_legacy installer. Post install everything works, matlab launches with GUI in soft OpenGL mode (can be overridden with -nosoftwareopengl). The only issue seems to be with Simulink. If I right click on the simulink window, the context menu pops up randomly somewhere else on the screen. Left click and mouse movement works normally. Performance seems to be fine as well.
xingxingcui
on 21 Dec 2022
Accepted Answer
More Answers (0)
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!