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

8 views (last 30 days)
玉成
玉成 on 2 Jul 2022
Answered: Walter Roberson on 25 Jul 2022
只有'discharge'对应的才有capacity

Answers (1)

Walter Roberson
Walter Roberson on 25 Jul 2022
types = {B0005.cycle.type};
mask = strcmp(types, 'discharge');
discharge_subset = B0005.cycle(mask);
discharge_capacities = arrayfun(@(S) S.data.capacity, discharge_subset);

Categories

Find more on 数据类型 in Help Center and File Exchange

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!