I'm using ubuntu and i3 window manager.

To launch matlab I have to navigate to


and type ./matlab.

Other applications like firefox and atom are recognized as programs, and therefore I can type "firefox" or "atom" directly in the terminal, regardless of where I am, to launch them. Is it possible to make matlab recognized as an application to get the same functionality?


Simply append that directory to your PATH,

export PATH="${PATH}:/usr/local/MATLAB/R2019a/bin"

This can be added to your ~/.bash_profile, or ~/.bashrc for persistence across reboots.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.