Skip to Main Content Skip to Search
Product Documentation

cellstr - Class: categorical

Convert categorical array to cell array of strings

Syntax

B = cellstr(A)

Description

B = cellstr(A) converts the categorical array A to a cell array of strings. Each element of B contains the categorical level label for the corresponding element of A.

See Also

char | getlabels

  


 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS