採用された回答

Andrei Bobrov
Andrei Bobrov 2016 年 5 月 11 日
編集済み: Andrei Bobrov 2016 年 5 月 11 日

2 投票

out = {t(~cellfun(@isempty,{t.places})).places};
t = cell2struct(out,{'places'},1);
or jast
t = t(~cellfun(@isempty,{t.places}));

1 件のコメント

Lynn McCane
Lynn McCane 2023 年 6 月 26 日
This worked perfectly, thanks

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Structures についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by