Accessing cell array contents
显示 更早的评论
I have a one-dimensional cell array where each element of the array contains a timetable with identical format. Is there a direct way of creating a vector that contains the last element of one specific variable in each timetable (without looping)?
For example, something like:
CellArray{:}.Variable(end)
2 个评论
Rik
2022-6-30
You're welcome. If either answer solved your problem, feel free to mark it as accepted answer. If the other was helpful as well, consider giving it an upvote.
采纳的回答
更多回答(1 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!