CS 525 Linear Programming MATLAB Setup Available from course homepage: http://www.cs.wisc.edu/~cs525-1 (This is file ~cs525-1/public/MATLAB.setup) Most of the assignments for this course will be carried out with the aid of MATLAB, an interactive package for high performance scientific computing. To set up your account on a Unix machine to use MATLAB, the following should be carried out. If logged in directly on a nova or tux machine (e.g. tux1 to tux40 or nova1 to nova40)) then: At the unix prompt, immediately after you login, do the following: tux10> mkdir matlab tux10> cp ~cs525-1/public/startup.m ~/matlab/startup.m tux10> matlab & The last command should set up a separate window in which matlab should be running. MATLAB has a built in editor that you should use that mimics many of the standard windows key operations. It will enable you to create any `m' files that you need for your work. All the function files that are created by the instructor as well as the homework and project data files in the public directory: ~cs525-1/public are now available to you for use in MATLAB. For example the function file ljx.m performs a labeled Jordan exchange within MATLAB and its use is described in the text. If the start up time for MATLAB is too long for you, and you do not use the "Matlab desktop", then the following might be useful to you: tux10> matlab -nojvm This disables the Java virtual machine, and the Matlab desktop will not start. Alternatively: tux10> matlab -nodesktop This disables the Matlab desktop, and allows the JVM to start. For all homework assignments you should hand in your results produced as follows: tux10> matlab >> diary hwk1.lastname.firstname >> load hwk1 >> .....whatever homework 1 requires >> diary off >> exit tux10> print -2up hwk1.lastname.firstname Remote Unix Machine Users ------------------------- Suppose you are logged remotely on a machine called cheddar. On a cheddar window you do the following: cheddar> xhost +tux10 In the tux10 window on cheddar: tux10> setenv DISPLAY cheddar:0 tux10> matlab First-Time Users ---------------- Go to a Unix terminal that is a displaying a login window. Type in "newuser" without quotes next to login and hit return. Follow next instruction: [Type] UW Identification Number (10 digits) and subsequent instructions.