Gold University of Minnesota M. Skip to main content.University of Minnesota. Home page.
 
 
 

What's inside.

Study Questions1

Study Questions2

Study Questions3

Announcements

Assignments

Matlab Help

Notes

Schedule

Syllabus

Class Forum

Check Grades

 

CSci 2031 Home

 
 

Printer-friendly version

 
Matlab Help

Using Matlab (on campus)

In order to use matlab on your ITLABS account, you will first need to set it up. The easiest way to do this is to type:

    module initadd math/matlab

After this is done, the first time, every time you log in to a machine, you can use matlab by simply typing "matlab." If you wish to use matlab before logging out, you can type:

    module load math/matlab

After this is done, you can start matlab by typing "matlab."

It should be noted that the default version of Matlab in ITLABS when you load 'module load math/matlab' is 7.0, but you also can specifically load the math/matlab/v.7.0.4 module, then you will get the latest version.

There is an example matlab script here.

Using Matlab (off campus)

If you run Matlab from a linux or sun machine outside the campus, you need to SSH to one of the machines in ITLABS, such as cyan.itlabs.umn.edu. The list of all machine names can be found here. After connecting the machine, then run matlab as above. However, if you want to run Matlab from a Windows machine outside the campus, you will not be able to see any of the plot/graphs or anything that involves showing a graphical output (anything that is printed in the form of texts is fine and can be seen). So, in order to do that you can install X-Win32 which has a free trial version for downloading here. You should expect that it is very slow, but it can help you do the work anyway.

If you do not have SSH installed in your machine, you can download from this website.

Matlab References

  • MATLAB Tutorial (link)
  • MathWorks (link)
  • University of Texas Tutorial (link)
  • Sigmon, MATLAB Primer, 3rd edition, 1993 (link)
 
The University of Minnesota is an equal opportunity educator and employer.
CSci 2031: Numerical Computing