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.
Creating Tables Limitations
If your MATLAB code creates tables, then code generation has these limitations.
Inputs for Table Creation | Limitations |
---|---|
Any inputs |
|
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 | Limitations |
---|---|
|
|
|
|
Table indices that specify variables as input arguments to generated code |
|
Custom metadata |
|
Assignments that change size of table |
|
Vertical concatenation |
|
Horizontal concatenation |
|
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.
Function | Limitations |
---|---|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
|
See Also
array2table
| cell2table
| struct2table
| table