Thanks guys.
The easiest way I found was using the terminal is going to the bin of MATLAB folder.
Mine is located in /usr/local/MATLAB/R20xx/bin.
In MATLAB you're gonna find all the versions installed in your computer.
After choosing the one you want to deploy, go into the bin folder of the chosen version and type ./matlab