Hello I have a question with struct()
Afficher commentaires plus anciens
I have a struct array() with multiple fields, one of the fields is timediff and it has a set of values. I want to find the sum of this particular field and store it in a variable. Can someone help me with this?
output(activityNum).timediff = etime(endtime,starttime);
output(activityNum).values = zRPM(startind:endind);
output(activityNum).timestampvalues = timestamp(startind:endind);
output here is my struct.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Structures dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!