Works similarly to struct2cell (see there), but considers only fields given by the strings in cell array names. Returns an error if a field is missing in s.
struct2cell
Package: struct