Main Content

Datetime Arrays

Code generation for datetime arrays

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 generation.


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.