index_sizematches_r​ows

Useful for : EASY LOGICAL INDEXING INTO COMPLEX STRUCTURED ARRAYS

You are now following this Submission

Based on checking the number of rows in every field and subfield with a complex structured array and indexing
only those elements that size- match the number of rows in the index array.
SIZE MATCH/ INDEX OPERATION APPLIES TO ALL SUB-FIELDS WITHIN THE STRUCTURED ARRAY INCLUDING ANY SUB-STRUCTURE FIELDS.
Non size matched fields are preserved unaltered.

Cite As

Jamie Rodgers (2026). index_sizematches_rows (https://www.mathworks.com/matlabcentral/fileexchange/28459-index_sizematches_rows), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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