Main Content

Datetime Arrays

Definition and use of datetime arrays in code acceleration

The values in a datetime array represent points in time using the proleptic ISO calendar. With datetime arrays, you can represent dates and times in MATLAB® code intended for code acceleration.

Topics

Code Generation for Datetime Arrays

Use datetime arrays in MATLAB code intended for code generation.

Define Datetime Array Inputs

Choose how you want to specify datetime array inputs.

Datetime Array Limitations for Code Generation

Adhere to code generation restrictions for datetime arrays.