how to call nested structure and cell array?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Zeynab Mousavikhamene
le 9 Août 2019
Commenté : Zeynab Mousavikhamene
le 9 Août 2019
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/233354/image.jpeg)
if I want to call the firts column of the data.timepoints how can I do that? I mean the "time" column.
I really appreciate any help.
0 commentaires
Réponse acceptée
Jon
le 9 Août 2019
Modifié(e) : Jon
le 9 Août 2019
I'm not sure exactly what you mean by "call the first column of the data.timepoints"
If you wanted to assign some other variable (I'm not sure why you would want to do this) to hold the time values you could use, for example
t = data.timepoints.time
If you wanted to perform some mathematical operation on the vector of times you could do it directly for example
y = 2*data.timepoints.time + 10
If this is not what you are asking, then can you please clarify. Best is to give a simple example (short piece of code to demonstrate) of what you are trying to do, explain the problems that you encounter, and copy and paste the full text of any error messages that you encounter
7 commentaires
Plus de réponses (1)
madhan ravi
le 9 Août 2019
Modifié(e) : madhan ravi
le 9 Août 2019
[data.timepoints.time]
0 commentaires
Voir également
Catégories
En savoir plus sur Whos 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!