FilterStruct

版本 1.0.0.0 (1.6 KB) 作者: Robert M. Flight
Filters the fields of a structure array using a logical array.
767.0 次下载
更新时间 2009/1/27

查看许可证

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 (2024). FilterStruct (https://www.mathworks.com/matlabcentral/fileexchange/22798-filterstruct), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2008a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Structures 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0