Categorical Arrays
Code generation for categorical arrays
Categorical arrays store data whose values belong to a finite set of discrete categories. With categorical arrays, you can provide efficient data storage and meaningful names for categories in MATLAB® code intended for code generation.
Topics
- Code Generation for Categorical Arrays
Use categorical arrays in MATLAB code intended for code generation.
- Define Categorical Array Inputs
Choose how you want to specify categorical array inputs.
- Categorical Array Limitations for Code Generation
Adhere to code generation restrictions for categorical arrays.