Index values of fields, returned as an array of integers, or
[]
if no match.
If messages
is a vector, then
getFields
returns fields matching
ids
from all messages. indices
is a cell array of vectors, where indices{i}
contains the
indices of the matching fields in messages{i}
.