I have two events and I need to know which event happened first.

2 vues (au cours des 30 derniers jours)
Elias Andersen
Elias Andersen le 12 Fév 2016
Commenté : Chad Greene le 12 Fév 2016
I need to write code that finds out which event happens first and outputs that event name. So I have Event A and Event B and if Event A happens first, it outputs 'Event A' and if Event B happens first, it outputs 'Event B'.
  5 commentaires
Walter Roberson
Walter Roberson le 12 Fév 2016
Is this an ode45 related question?
Chad Greene
Chad Greene le 12 Fév 2016
EventA = 'chicken';
EventB = 'egg';

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur MATLAB Support Package for Arduino Hardware dans Help Center et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by