Main Content

La traduzione di questa pagina non è aggiornata. Fai clic qui per vedere l'ultima versione in inglese.

Strutture

Array con campi denominati che possono contenere dati di vario tipo e dimensione

Un array di strutture è un tipo di dati che racchiude dati correlati mediante contenitori di dati chiamati campi. Ciascun campo può contenere qualsiasi tipo di dati. Per accedere ai dati di una struttura si utilizza la notazione a punti nella forma structName.fieldName. Per maggiori informazioni, vedere Structure Arrays o guardare Introducing Structures and Cell Arrays Introduzione alle strutture e agli array di celle.

Funzioni

structArray di struttura
fieldnamesNomi dei campi di strutture o campi pubblici di oggetti Java o Microsoft COM
getfieldField of structure array
isfieldDetermine if input is structure array field
isstructDetermine if input is structure array
orderfieldsOrder fields of structure array
rmfieldRimuovere i campi dalla struttura
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

Argomenti