disp

disp(X) displays the value of X.

Examples

> disp(1:3)

	1            2            3
> disp(['ab';'cd'])

	ab
	cd
> x = {'ab';'cd'}

> disp(['Example: ' char(x{1})])

	Example: ab

Resources

See also

clc | console