怎么全部导出附件word里面图片的B0005(struct)中的Capacity的数值
조회 수: 1 (최근 30일)
이전 댓글 표시
只有'discharge'对应的才有capacity
댓글 수: 0
답변 (1개)
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);
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!