I have a cell array with 60000 x 1, in each cell i have some structures 1 x 1 or 0 x 0, I need to extract the structures 1 x 1, how can I do this?

 採用された回答

Walter Roberson
Walter Roberson 2019 年 10 月 19 日

0 投票

YourCell(~cellfun(@isempty,YourCell))

その他の回答 (1 件)

Anderson Oliveira
Anderson Oliveira 2019 年 10 月 20 日

0 投票

Thanks a lot. It's really help me.

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by