you could create a new .desktop file with the correct command to launch MATLAB.
Icon=/usr/local/MATLAB/R2023a/toolbox/shared/dastudio/resources/MATLAB_icon.png
Exec=/usr/local/MATLAB/R2023a/bin/matlab -desktop
Comment=Start MATLAB - The Language of Technical Computing
Categories=Development;Math;Science
Replace R2023a with the version of MATLAB you have installed. The Icon path might also need to be adjusted if it's different on your system. Once you've created this file, name it matlab.desktop and place it in ~/.local/share/applications/ (or the equivalent directory for desktop applications on your system).
You would need to give this file execute permission using the command chmod +x matlab.desktop and then you might see MATLAB in your applications menu after refreshing the desktop environment or logging out and back in.
Keep in mind that creating and modifying .desktop files requires administrative permissions if placed in system-wide directories and should be done carefully to avoid misconfiguration.
-----------------------------------------------------------------------------------------------------------------------------------------------------
If you find the solution helpful and it resolves your issue, it would be greatly appreciated if you could accept the answer. Also, leaving an upvote and a comment are also wonderful ways to provide feedback.
Professional Interests
- Technical Services and Consulting
- Embedded Systems | Firmware Developement | Simulations
- Electrical and Electronics Engineering
It's important to note that the advice and code are based on limited information and meant for educational purposes. Users should verify and adapt the code to their specific needs, ensuring compatibility and adherence to ethical standards.
Feel free to contact me.