Next: Loading Script Files
Up: Scripting
Previous: for
By use of the function command, the user can define their own
functions. This is done by first defining which variables will be
input into the function and what the output will be. Then, the body of
the function is defined. The function returns the declated output
variables, so the function should set them to whatever it wishes to
return.
function [out] = inof(in) \
out = in;
inof(5)
Arun Francis Rodrigues
1999-08-17