selectfields: Select specified field names from a struct

Selects fields listed in a cell array from a struct

Download
Download

You are now following this Submission

Cite As

Bill Whiten (2026). selectfields: Select specified field names from a struct (https://www.mathworks.com/matlabcentral/fileexchange/63774-selectfields-select-specified-field-names-from-a-struct), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
2.0.0

Updated as suggested by Stephen

Download
1.2.0

Reloaded, thanks Stephen

Download
1.1.0

Updated to include struct arrays, thanks to Jos & Stephen.
still includes error messages

Download
1.0.0

Download