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

Answers (1)

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 Create Large-Scale Model Components in Help Center and File Exchange

Products

Release

R2019a

Asked:

on 2 Jul 2022

Answered:

on 25 Jul 2022

Community Treasure Hunt

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

Start Hunting!