Target Language Compiler | ![]() ![]() |
Zero Crossings Events (ZCEvents)
The CompiledModel.ZCEvents
is used to generate the rtPZCE
(previous zero crossing event state) structure in the generated code. The data type of each field in this structure is ZCSigState
, which encodes the last value of the signal we were tracking for a zero crossing in an enumeration (see matlabroot
/simulink/include/simstruc_types.h
).
![]() | Nonsampled Zero Crossings (NonsampledZCs) | Block Record Defaults | ![]() |