I want to install matlab in ubuntu 20.04, but I'm running ubuntu in WSL2 and it doesn't want to work.I keep getting the error: terminate called after throwing an instance of 'framework::window::DisplayError what(): No. Display Avaliable.
I have the linux version of matlab unzipped in a folwer and I'm trying to instal it into the user files. Things I've tried to install it that were suggested for people having the same issue on other distros:
sudo ./install./installbash installinstallbash ./installsudo bash ./installsudo su and then doing ./installexport DISPLAY=:0.0 and then sudo ./installbash ./install -v -inputFile installer_input.txt
It gives the same error for every one that I've tried.
Let me know if anyone has any solutions. Thanks.