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

1 次查看(过去 30 天)
玉成
玉成 2022-7-2
只有'discharge'对应的才有capacity

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 数据类型 的更多信息

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!