Gabriel Ha, MathWorks
Structures and cell arrays are two kinds of MATLAB arrays that can hold generic, unstructured heterogeneous data.
A structure array is a data type that groups related data using data containers called fields. Each field can contain any type of data.
A cell array is a data type with indexed data containers called cells, where each cell can contain any type of data. Cell arrays commonly contain either lists of character vectors of different lengths, or mixes of strings and numbers, or numeric arrays of different sizes.
In this video learn how to create structures and cell arrays and when to use them.
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .Select web site
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.