Main Content

Structures

Arrays with named fields that can contain data of varying types and sizes

A structure array is a data type that groups related data using data containers called fields. Each field can contain any type of data. Access data in a structure using dot notation of the form structName.fieldName. For more information, see Structure Arrays or watch Introducing Structures and Cell Arrays.

Funktionen

structStrukturarray
fieldnamesFeldnamen einer Struktur oder öffentliche Felder eines Java- oder Microsoft-COM-Objekts
getfieldField of structure array
isfieldDetermine if input is structure array field
isstructDetermine if input is structure array
orderfieldsOrder fields of structure array
rmfieldEntfernen von Feldern aus einer Struktur
setfieldAssign value to structure array field
arrayfunApply function to each element of array
structfunApply function to each field of scalar structure
table2structConvert table to structure array
struct2tableConvert structure array to table
cell2structConvert cell array to structure array
struct2cellConvert structure to cell array

Themen