b
Access field a of the structure larger(2,1). It contains the same value as new(1,1).a.
larger(2,1).a
ans = 1
See Also
Related Examples
•
“Creating, Concatenating, and Expanding Matrices”
•
“Structure Arrays” on page 11-2
•
“Access Elements of a Nonscalar Structure Array” on page 11-13
Concatenate Structures
11-9
Précédent

- 527/1450

Suivant