`combstruct` and `rename_field`

All possible combinations of a set of cell arrays, in the form of a structure array.

You are now following this Submission

Code based on combination and field renaming suggestions in comments by Stephen23.
Modifications were implemented to ensure the code would work with final cell array being the only one with more than one element.

Cite As

Tiago Pomella Lobo (2026). `combstruct` and `rename_field` (https://nl.mathworks.com/matlabcentral/fileexchange/133442-combstruct-and-rename_field), MATLAB Central File Exchange. Retrieved .

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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