Unformatted text preview: % which the value was found. If no structure is found, an empty structure % and index of 0 will be returned. % for i = 1:length(str) foundat(i) = isequal(str(i).(field),value); end outstr = str(foundat); index = find(foundat); if isempty(index) index = 0; end...
View Full Document
This note was uploaded on 10/21/2010 for the course CS 1371 taught by Professor Stallworth during the Spring '08 term at Georgia Tech.
- Spring '08