How to access Struct datatype - Extract property and fields
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Abdul Sajeed Mohammed
el 30 de Abr. de 2021
Comentada: Divya Gaddipati
el 10 de Mayo de 2021
Hello, i have exported data from simulator and on opening in workspace i have my data setup in (68 X 1) struct format with 3 fields (As shown in figure 1). On opening struct data, i have somewhat information as shown in figure 3. i want to explore and sort all the values saperately to work with them for example : Curvature values, lateral offset..etc. all 68 property rows aligned side by side with values under them for data processing. I am stuck and not understanding, how can i sort data saperately as per variable name. Any help will be appriciated. Thank you.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/602040/image.jpeg)
Figure 2
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/602045/image.jpeg)
Figure 3
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/602050/image.jpeg)
1 comentario
Divya Gaddipati
el 10 de Mayo de 2021
It's hard to understand the structure of the data from the images. Could you attach the file?
Respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!