Datetime Array Limitations for Code Generation - MATLAB & Simulink (original) (raw)

When you create datetime arrays in MATLABĀ® code that you intend for code generation, you must specify the values by using the datetime function. See Dates and Time.

For datetime arrays, code generation does not support the following inputs and operations:

Limitations that apply to classes also apply to datetime arrays. For more information, see MATLAB Classes Definition for Code Generation.

See Also

datetime | NaT