FUNCTION REFERENCE

isnat

True for NaT elements of a datetime array.

True for NaT elements of a datetime array.

Syntax

tf = isnat(t)

Example

tf = isnat(datetime([2024 NaN], 1, 1))   % 0 1

Differences from MATLAB: None known.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.