Steps to setup Environment Variables for Matlab : ----------------------------------------------------------------------------------------------------------------------------- 1. Open Your "Home Folder". (Places -> Home Folder) 2. Press "Ctrl + h " key OR Go to View Tab and enable "Show Hidden file Options". 3. Open .bashrc file in Text Editor. OR If there is no file exists as .bashrc then create a new file (using Text Editor) and save it as .bashrc 4. Copy and paste following 2 lines in .bashrc file. export MLM_LICENSE_FILE=27000@licmngr1.iitd.ernet.in,27000@licmngr2.iitd.ernet.in,27000@licmanager.cse.iitd.ernet.in alias matlab='/misc/slocal/matlab2010a/bin/matlab' 5. Save the .bashrc file. 6. Open terminal. (Applications -> Accessories -> Terminal) 7. Type matlab and press Enter. (Matlab software should start within few seconds.)