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

Accepted Answer
More Answers (0)
Categories
Find more on 图像分割 in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!