怎么全部导出附件word里面图片的B0005(struct)中的Capacity的数值
2 views (last 30 days)
Show older comments
只有'discharge'对应的才有capacity
0 Comments
Answers (1)
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);
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!