Accessing Matlab



·         On-campus labs (recommended): The fastest and most direct way to access Matlab is to work in one of the on-campus computer labs (ENS, PAI).  The TAs will also hold office hours in the PAI lab (see homepage), so if you work during those times you can get help with some questions in real-time.

Update from the tech staff on Matlab on lab machines:
If you're using gnome on the new package machines and are trying to use Matlab you'll notice that you get a blank Matlab window. To fix the problem click on System Menu - Preferences - Appearance, then pick 'Visual Effects' tabs. Set the effect to None and close the window.  Matlab will start up normally after that.


·         Windows machines: On campus, you can run an X server for Windows (such as the free XMing), then login to your CS account with an SSH client (like the free program Putty – check the “Enable X11 forwarding” box under ConnectionàSSH).  This should be fast enough to do if you are on campus.  Off campus, you may find running this with GUIs is too slow.


·         At home: You can set up a VNC server (using software such as TightVNC) on one of the computers in the labs.  Depending on your connection, the X server+SSH may also work if you use the “-nodesktop” option below.


·         Purchasing your own copy of Matlab (*not necessary*): The UT Campus Computer Store sells a student edition at what is a fairly good price for Matlab (around $100).  If you prefer to run your own version locally, this may be of interest to you.  However, it is absolutely not necessary to buy the software in order to do the work in this course.  The CS computer labs are the easiest and most direct way to do the work.





Note: opening Matlab with this command: 


>> matlab -nodesktop


will give you the command line version (no GUI), which can work well if you are editing code elsewhere (say, in Emacs) and want to run it simply from the command line.




Using Matlab