FilterStruct
版本 1.0.0.0 (1.6 KB) 作者:
Robert M. Flight
Filters the fields of a structure array using a logical array.
Filterstruct allows one to use a logical matrix to filter the various fields of a structure identically. If filterlogic has one column and the fields contain more than one column the rows of each field will be filtered. If filterlogic has multiple columns, the fields that are filtered must be identical in size to filterlogic.
Will only filter those fields with the same number of rows as filterlogic (if only one column) or that are the same size as filterlogic (if multiple columns).
引用格式
Robert M. Flight (2026). FilterStruct (https://ww2.mathworks.cn/matlabcentral/fileexchange/22798-filterstruct), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2008a
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Structures 的更多信息
标签
| 版本 | 已发布 | 发行说明 | |
|---|---|---|---|
| 1.0.0.0 |
