display

Prints the name and value of variable x.

Syntax

display(x)

Inputs

x
Type: Any data type.

Example

Display a matrix:
m = rand(4);
display(m)
m = [Matrix] 4 x 4
0.96366  0.27266  0.38344  0.47767
0.79173  0.81217  0.52889  0.47998
0.56804  0.39278  0.92560  0.83608
0.07104  0.33740  0.08713  0.64817