怎么全部导出附件wo​rd里面图片的B00​05(struct)​中的Capacity​的数值

回答 (1 件)

Walter Roberson
Walter Roberson 2022 年 7 月 25 日

0 投票

types = {B0005.cycle.type};
mask = strcmp(types, 'discharge');
discharge_subset = B0005.cycle(mask);
discharge_capacities = arrayfun(@(S) S.data.capacity, discharge_subset);

カテゴリ

ヘルプ センター および File Exchange で Create Large-Scale Model Components についてさらに検索

製品

リリース

R2019a

質問済み:

2022 年 7 月 2 日

回答済み:

2022 年 7 月 25 日

Community Treasure Hunt

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

Start Hunting!