Loadable Function: fields2cell (s, names)

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.

Package: struct