8.2.5.4 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.