Table Limitations for Code Generation
If you create tables, modify them, or use table functions in MATLAB® code that you intend for code generation, then code generation has limitations described in the next sections. Limitations that apply to classes also apply to tables. For more information on class limitations, see MATLAB Classes Definition for Code Generation (MATLAB Coder).
Creating Tables Limitations
If your MATLAB code creates tables, then code generation has these limitations.
Inputs for Table Creation
Table created from input arrays
Table created with preallocated variables
Modifying Tables Limitations
If your MATLAB code modifies data in a table or its properties, then code generation has these limitations.
Table Operation or Property
Table indices that specify variables as input arguments to generated code
Assignments that change size of table
Table variables that are N-D cell arrays
Using Table Functions Limitations
If your MATLAB code uses the functions listed in the table, then code generation has these limitations.