# disp

Display a variable.

## Syntax

* disp(V)

## Input argument

* V - a variable

## Description

**disp(V)** displays the value of the variable **V**.

**disp** uses current **format** setting to display numeric values.

## Examples

```matlab
disp('Hello Nelson')
```

```matlab
disp(pi)
```

```matlab
disp(eye(3, 3))
```

disp always ends with a newline.

```matlab
disp('')
```

## See also

[display](display), [fprintf](../stream_manager/fprintf), [format](format).

## History

| Version | Description     |
| ------- | --------------- |
| 1.0.0   | initial version |

## Author

Allan CORNET
