View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from

5.0 | 1 rating Rate this file 5 Downloads (last 30 days) File Size: 1.61 KB File ID: #22798 Version: 1.0




Filters the fields of a structure array using a logical array.

| Watch this File

File Information

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).

MATLAB release MATLAB 7.6 (R2008a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
05 Mar 2009 Gary

Gary (view profile)

Great timesaver!

Contact us