setTriggerComparisonOperator - Configure operator that compares individual signal values within trigger
condition - MATLAB ([original](https://in.mathworks.com/help/hdlverifier/ref/fpgadatareader.settriggercomparisonoperator.html)) ([raw](?raw))
Configure operator that compares individual signal values within trigger condition
Syntax
Description
setTriggerComparisonOperator([DC](#mw%5F97d896bb-d5ec-4e2a-b181-2128547bd264),[name](#mw%5F62b28fa7-e6cf-46cf-9c72-63212b9fb840),[operator](#mw%5Faa5cc25a-ffe0-4615-88cf-b94bdd6b0b6f))
configures a comparison operator
that compares individual signal values within the trigger condition in trigger stage 1. DC
is a customized data capture object, name
is the name of a trigger component signal.
setTriggerComparisonOperator([DC](#mw%5F97d896bb-d5ec-4e2a-b181-2128547bd264),[name](#mw%5F62b28fa7-e6cf-46cf-9c72-63212b9fb840),[operator](#mw%5Faa5cc25a-ffe0-4615-88cf-b94bdd6b0b6f),[N](#mw%5Fe52f9450-5c96-4ab7-8c8e-05fdf1709570))
configures a comparison operator
that compares individual signal values within the trigger condition in a trigger stage specified by N
.DC
is a customized data capture object, name
is the name of a trigger component signal.
Input Arguments
Name of a trigger component signal, specified as a character vector. This name must match one of the signal names configured on creation of the input System objectDC. The signal must be configured as a possible trigger signal.
Operator to compare signals within the trigger condition, specified as one of these operators: ==
(default), !=
,<
, >
, <=
, or>=
.
The trigger condition comprises value comparisons of one or more signals. For a multibit signal, specify one of these operators: ==
(default),!=
, <
, >
,<=
, or >=
. For a trigger condition containingX
or x
(don't-care value), specify either==
or !=
operators. For a logical signal, specify one of these operators: ==
or !=
. For details on trigger conditions, see Triggers.
Trigger stage, specified as an integer from 1 to M, where_M_ is set by the Max trigger stages parameter of the FPGA Data Capture Component Generator tool. Use N
to set the trigger comparison operator in N
th trigger stage. If you do not specify N
, by default, the function sets the trigger comparison operator in trigger stage 1.
Version History
Introduced in R2019b