How do Index into a structure array and assign columns to a variable
1 次查看(过去 30 天)
显示 更早的评论
I have what looks likes a structure array as output. Each cell of the structure array is n x 5. I wish to attract columns 2, 3, and 4 from each cell and assign them each to a variable.
However to be honest I merely wish to index into each cell, and assign each column to a variable.
These variables will then be inputs to another script. How do I index into each cell and assign columns 2, 3,and 4 to variables D, E, and F for example?
1 个评论
Kian Azami
2017-10-8
Can you put a code of your structure or maybe a picture of your structure when it is opened in the workspace. It is hard to understand what you need to do?
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Function Creation 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!