selectfields: Select specified field names from a struct
Selects fields listed in a cell array from a struct
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 .
Acknowledgements
Inspired by: renamefields: Rename some field names in a struct
Inspired: Optional function arguments
General Information
- Version 2.0.0 (4.48 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux