display
Show information about variable or result of expression.
Syntax
- display(V)
- display(V, name)
Input argument
- V - Result of executing a statement or expression
- name - a character vector: variable name displayed.
Description
display(V) displays information about the variable V.
Nelson calls display function whenever an object is referred to in a statement that is not terminated by a semicolon.
Examples
display(33, 'Hello')
display('Hello Nelson')
display(pi)
A = eye(3, 3); disp(A)
See also
History
Version | Description |
---|---|
1.0.0 | initial version |
Author
Allan CORNET