如何引用结构体的元素。
古いコメントを表示
有一个结构体如图,我想引用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!