# Documentation

### This is machine translation

Translated by
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

# celldisp

Display cell array contents

## Syntax

```celldisp(C) celldisp(C, name) ```

## Description

`celldisp(C)` recursively displays the contents of a cell array.

`celldisp(C, name)` uses the character vector `name` for the display instead of the name of the first input (or `ans`).

## Examples

Use `celldisp` to display the contents of a 2-by-3 cell array:

```C = {[1 2] 'Tony' 3+4i; [1 2;3 4] -5 'abc'}; celldisp(C) C{1,1} = 1 2 C{2,1} = 1 2 3 4 C{1,2} = Tony C{2,2} = -5 C{1,3} = 3.0000+ 4.0000i C{2,3} = abc```

## See Also

### Topics

#### Introduced before R2006a

Was this topic helpful?

#### The Manager's Guide to Solving the Big Data Conundrum

Download white paper