Determine if message is valid
isvalid( checks if a
message is valid. A message is valid if the chart has removed it from the queue and
has not forwarded or discarded it.
Determine whether the message
M is valid. If the
message is valid and has a data value equal to
during: if isvalid(M) == true if M.data == 6 discard(M); end end
isvalid operator to check if a message is valid in
a Simulink® model that contains more than one Stateflow® chart.