8.2.6.3 categorical.categories

Method: out = categories (obj)

Get a list of the categories in obj.

Gets a list of the categories in obj, identified by their category names.

Returns a cellstr column vector.