How to get timer's UserData?
8 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
JAI PRAKASH
le 8 Sep 2018
Commenté : JAI PRAKASH
le 8 Sep 2018
I am fetching timer's UserData with the below command
data = get(timer1, 'UserData');
Problem is, it gives whole userdata. Suppose if only partial data is required.
for e.g. just steer data is required.
Is there something like this
data = get(timer1, 'UserData.data'); ??
Thank you
0 commentaires
Réponse acceptée
Plus de réponses (1)
Geoff Hayes
le 8 Sep 2018
Jai - since the UserData is a struct, why not try
data = get(timer1, 'UserData');
steerData = data.steer;
Voir également
Catégories
En savoir plus sur Time Series Events dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!