Main Content


Code generation for tables

table is a data type suitable for column-oriented or tabular data that is often stored as columns in a text file or in a spreadsheet. Tables consist of rows and column-oriented variables. Each variable in a table can have a different data type and a different size with the one restriction that each variable must have the same number of rows. With tables, you can store tabular data in MATLAB® code intended for code generation.


Code Generation for Tables

Use tables in MATLAB code intended for code generation.

Define Table Inputs

Choose how you want to specify table inputs.

Table Limitations for Code Generation

Adhere to code generation restrictions for tables.