FUNCTION REFERENCE

categories

Return category names in category order.

Return category names in category order.

Syntax

names = categories(C)

Names are returned as a column cell array of character vectors, including unused categories.

Example

categories(categorical([2 1 2]))

Differences from MATLAB: two-dimensional categorical arrays only.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.