Flatten (Nested) Cell Arrays

A helper function to flatten nested cell arrays

Download
Download

You are now following this Submission

Editor's Note: This file was selected as MATLAB Central Pick of the Week

Cite As

Yung-Yeh Chang (2026). Flatten (Nested) Cell Arrays (https://www.mathworks.com/matlabcentral/fileexchange/50502-flatten-nested-cell-arrays), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
2.0.0

Distinguish from the older version

Download
1.6.0

Fixed incorrect N level extraction

Download
1.5.0

Update to 2.0
Update description.

Download
1.4.0

Correct title

Download
1.3.0

Take Iwo Bohr's advice that adds a sanity check for input argument.

Download
1.2.0

Update title description

Download
1.1.0

Update title

Download
1.0.0

Download