Main Content

Date and time at simulation time zero

R2026b

Define reference calendar date and time

Since R2026b

Model Configuration Pane: Solver

Description

The Date and time at simulation time zero parameter defines the reference calendar date and time corresponding to simulation time t = 0 for the entire Simulink® model.

Settings

'' | MATLAB® datetime scalar

Specify the reference calendar date and time corresponding to simulation time t = 0 for the entire Simulink model. The expression must evaluate to a MATLAB datetime scalar with one of these time standards:

  • UTC — Coordinated Universal Time

  • TAI — International Atomic Time

  • TT — Terrestrial Time

Note

The Date and time at simulation time zero configuration parameter does not accept unzoned MATLAB datetime values and MATLAB datetime values with an Internet Assigned Numbers Authority (IANA) time zone. MATLAB datetime values must also have the same correct time standard as the Date and time at simulation time zero block.

This parameter value must resolve to a date between January 1, 1972 and December 31, 9999.

For more information on time standards, see datetime.

Programmatic Use

Parameter: DateTimeAtSimulationTimeZero
Type: character vector
Values: '' | MATLAB datetime scalar
Default: ' '

Version History

Introduced in R2026b