sortregions
Sort polyshape regions
Syntax
Description
polyout = sortregions(
returns a polyin,criterion,direction)polyshape object whose regions are sorted according to
the specified criterion and direction. For
example, polyout = sortregions(polyin,'area','ascend') returns a
polyshape whose solid regions are the same as
polyin, and listed in ascending order by their area.
Examples
Input Arguments
Version History
Introduced in R2017b

