如何引用结构体的元素。
显示 更早的评论
有一个结构体如图,我想引用Q这一列,应该怎么办呢?
试了两个命令,都不行。
Q = Segment{:,1,:};
Q = Segment(1:5).Q;
Q = Segment(:).Q;
Q = Segment{:}.Q;
Q = Segment.Q;

采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 图像分割 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!