I installed matlab. Added a file /usr/share/applications/matlab.desktop. But matlab does not start, the startup window appears and that’s it. At the same time, if you run from the console, then everything works. Yesterday matlab.desktop works perfectly. Please, tell me where I went wrong.
matlab.desktop:
[Desktop Entry]
Type=Application
Terminal=false
MimeType=text/x-matlab
Exec=/opt/matlab/bin/matlab
Name=MATLAB R2022b
Icon=/opt/matlab/bin/glnxa64/cef_resources/matlab_icon.png
Categories=Development;Math;Science
Comment=Scientific computing environment
StartupNotify=true
I tried using gtk-launcher but didn’t see any errors.