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 (GDC 3.302, GDC 1.310).  Be sure to login into the Linux based OS (Ubuntu) to access the Matlab GUI.  To work without the GUI, use the command "matlab -nodesktop".  When you login, the GNOME window manager might not be able to be used.  If this is the case, simply choose the other window manager and you should be able to login.


·         Windows machines: On campus on your own machine, 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.  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.

NEW: Info about a free copy of Matlab for your personal machine (students only)




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