transmitEvent(canch,msg,state)
enables or disables an event-based transmit of the CAN message,
msg, on the channel, according to the
state argument of 'On' or
'Off'. A typical event that triggers a transmission is a
change to the message Data property.
CAN channel, specified as a CAN channel object. This is the channel by
which you access the CAN bus, and the channel on which the specified message
is enabled for event-based transmit.
Message to transmit, specified as a CAN message object or array of message
objects. This is the message enabled for event-based transmission on the
specified CAN channel.
Enable event-based transmission, specified as 'On' or
'Off'.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.