Main Content

Tables

Definition and use of tables for MATLAB Function blocks

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.

Blocks

MATLAB FunctionInclude MATLAB code in models that generate embeddable C code

Topics

Code Generation for Tables

Use tables in MATLAB code intended for code generation.

Table Limitations for Code Generation

Adhere to code generation restrictions for tables.