Department of Engineering
University of Cambridge
to check on variables (or selectively remove semi-colons from commands so that output isn't supressed).
Be careful when choosing variable names
begins with the value
will change its value.
If you give a variable the same name as a function odd things can happen. E.g. the following causes an error on the last line
A=3 size(A) size = 1 size(A)
command stops function/script execution so you can examine and change values. To continue, type
Sometimes the error in your program triggers an error message from a function that your program directly or indirectly calls. Use
to see the dependent functions.
On some systems a Debugger is available as an item on the menu bar.
Cambridge University Engineering Dept
Information provided by